@Role public interface AuthorizationSettler
|Modifier and Type||Method and Description|
Compute the current access for the user that is a member of the given groups and on an entity which is protected by the given hierarchy of rights objects.
SecurityAccessEntry settle(UserSecurityReference user, Collection<GroupSecurityReference> groups, Deque<SecurityRuleEntry> securityRuleEntries)
user- a user identifier.
groups- a collection of groups.
securityRuleEntries- a hierarchy of security rules. The list is arranged such that the rules belonging to the main wiki is put in the last collection, preceded by subwiki if any, preceded by space and subspaces if any, preceded by the document rules. The levels of this hierarchy match the structure of the entity reference reported by the first SecurityRuleEntry.
Copyright © 2004–2019 XWiki. All rights reserved.