Angela Schreiber created OAK-9637:
-------------------------------------

             Summary: Additional API to retrieve PrivilegeCollection to avoid 
manual resolution of privilege aggregation
                 Key: OAK-9637
                 URL: https://issues.apache.org/jira/browse/OAK-9637
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: authorization-principalbased, core, jackrabbit-api, 
security-spi
            Reporter: Angela Schreiber
             Fix For: 1.42.0


following OAK-9494 i would suggest to add the following addition methods to 
Jackrabbit API that allows to deal with privileges in a more efficient way:

- {{JackrabbitAccessControlManager.privilegeCollectionFromNames(String... 
privilegeNames)}} -> in addition to 
{{AccessControlManager.privilegeFromName(String)}}
- {{JackrabbitAccessControlEntry.getPrivilegeCollection() -> in addition to 
{{AccessControlEntry.getPrivileges()}}

[~jhoh], fyi



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to