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 "angela (JIRA)" <ji...@apache.org> on 2019/02/05 13:58:00 UTC
[jira] [Updated] (OAK-8027) Extract public utility for handling
jcr:all privilege bits
[ https://issues.apache.org/jira/browse/OAK-8027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela updated OAK-8027:
------------------------
Attachment: OAK-8027.patch
OAK-8027-tests.patch
> Extract public utility for handling jcr:all privilege bits
> ----------------------------------------------------------
>
> Key: OAK-8027
> URL: https://issues.apache.org/jira/browse/OAK-8027
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core, security-spi
> Reporter: angela
> Assignee: angela
> Priority: Minor
> Attachments: OAK-8027-tests.patch, OAK-8027.patch
>
>
> [~stillalex], while working on authorization related PoC i found myself copying the logic used inside _oak-core_ to store the {{PrivilegeBits}} representation of {{jcr:all}}. Since that latter is defined to always reflect the aggregation of all registered privileges, which may change over time, the code in _oak-core_ uses a placeholder value instead. That logic could be shared by different implementations if it was available in _oak-security-spi_.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)