Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
currently the policies returned upon AccessControlManager.getEffectivePolicies(String) and JackrabbitAccessControlManager.getEffectivePolicies(Set<Prinicipal>) are instances of ImmutableACL, which doesn't reflect the fact that the implementation handles PrincipalAccessControlList. This makes it a bit confising to 'read' in a composite setup in particular when comparing the return value of getPolicies with getEffectivePolicies.
therefore i would suggest to introduce an extension of ImmutableACL implementing PrincipalAccessControlList and using this for the return value of both methods covering effective policies.
stillalex, fyi