You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2022/01/13 06:31:00 UTC

[jira] [Commented] (OAK-9637) Additional API to retrieve PrivilegeCollection to avoid manual resolution of privilege aggregation

    [ https://issues.apache.org/jira/browse/OAK-9637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17475126#comment-17475126 ] 

Julian Reschke commented on OAK-9637:
-------------------------------------

Angela - any chance you could propose an implementation for classic Jackrabbit as well?

> 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
>            Assignee: Angela Schreiber
>            Priority: Major
>             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)