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

angela commented on OAK-8027:
-----------------------------

[~stillalex], proposed patch (and one for the tests) attached. wdyt?

> 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)

Reply via email to