strongest

fun strongest(predicates: Set<String>): ShareMode?

Picks the most permissive mode from a set of WAC predicates. Write > Append > Read.


Picks the most permissive of a collection of ShareModes (Write > Append > Read), or null if empty. Used to fold the several implied acl:modes a grant writes (e.g. Read+Append for "Add") back into the single logical level shown per receiver.