[ 
https://issues.apache.org/jira/browse/OAK-787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

angela resolved OAK-787.
------------------------

    Resolution: Fixed

I committed a slightly modified patch at revision 1477665:

- paths are configurable (default contains the 3 mentioned paths)
- policies are placed at those paths instead of the null path
- evaluation of those special read-policies has been moved to 
CompiledPermissionsImpl not only including #getReadStatus but also taking
the other methods into account... again based on the configuration.

that led to far less modifications to test and allowed to keep the
permissionprovider and the treetypeprovider simple.

i added tests for the AccessControlManager implementation and specific tests 
for CompiledPermissionsImpl.
                
> Accessibility of NodeTypes, Namespaces and Privileges
> -----------------------------------------------------
>
>                 Key: OAK-787
>                 URL: https://issues.apache.org/jira/browse/OAK-787
>             Project: Jackrabbit Oak
>          Issue Type: Sub-task
>          Components: core
>            Reporter: angela
>            Assignee: angela
>         Attachments: OAK-787.patch
>
>
> in jackrabbit-core node types, namespaces and privileges were stored
> separated from the repository content in the file system. accessibility
> of that part of the repository was therefore never managed by the
> regular item access in jackrabbit.
> now, as of oak all of them are stored and accessed in the repository
> and are consequently affected by regular item read access which
> basically breaks backwards compatibility.
> we should define means of asserting backwards compatible behavior.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to