[
https://issues.apache.org/jira/browse/JCRVLT-25?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tobias Bocanegra resolved JCRVLT-25.
------------------------------------
Resolution: Fixed
Fix Version/s: 3.1
added special import logic that understand Jackrabbit 2.x and Jackrabbit Oak
serialized ACL content and applies it accordingly.
> Implement AccessControllHandling MERGE and MERGE_PRESERVE
> ---------------------------------------------------------
>
> Key: JCRVLT-25
> URL: https://issues.apache.org/jira/browse/JCRVLT-25
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Reporter: Tobias Bocanegra
> Assignee: Tobias Bocanegra
> Fix For: 3.1
>
>
> The special access control handling MERGE and MERGE_PRESERVE are not
> implemented yet. suggest to implement as follows:
> {code}
> /**
> * Merge access control provided with the package with the one in the
> * content by replacing the access control entries of corresponding
> * principals (i.e. package first). It never alters access control entries
> * of principals not present in the package.
> * <p/>
> * Example:<br/>
> *
> * Content ACL:
> * <pre>
> * everyone, deny, jcr:all
> * bob, allow, jcr:read
> * bob, allow, jcr:write
> * </pre>
> *
> * Package ACL:
> * <pre>
> * bob, deny, jcr:all
> * alice, allow, jcr:read
> * </pre>
> *
> * Result ACL:
> * <pre>
> * everyone, deny, jcr:all
> * bob, deny, jcr:all
> * alice, allow, jcr:read
> * </pre>
> */
> MERGE,
> /**
> * Merge access control in the content with the one provided with the
> * package by adding the access control entries of principals not present
> in the
> * content (i.e. content first). It never alters access control entries
> already
> * existing in the content.
> *
> * <p/>
> * Example:<br/>
> *
> * Content ACL:
> * <pre>
> * everyone, deny, jcr:all
> * bob, allow, jcr:read
> * bob, allow, jcr:write
> * </pre>
> *
> * Package ACL:
> * <pre>
> * bob, deny, jcr:all
> * alice, allow, jcr:read
> * </pre>
> *
> * Result ACL:
> * <pre>
> * everyone, deny, jcr:all
> * bob, allow, jcr:read
> * bob, allow, jcr:write
> * alice, allow, jcr:read
> * </pre>
> */
> MERGE_PRESERVE,
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)