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

Chetan Mehrotra commented on OAK-3777:
--------------------------------------

Initial prototype implemented with 
[d6a3d262393a|https://github.com/chetanmeh/jackrabbit-oak/commit/d6a3d262393a98f307b011b09474871c3199c660].
 With this change the permissionRoot used by default permission store 
implementation is a function of mount info for given path i.e. 
_/jcr:system/rep:permissionStore/<mount name>/<workspace name>_

* write - Upon write the permission entry would be created in corresponding 
mount path
* read - Upon read the permissions would be collected from all mounts and merged

{noformat}
/{jcr:primaryType = rep:PermissionStore}
    oak:testMount{jcr:primaryType = rep:PermissionStore}
      default{jcr:primaryType = rep:PermissionStore}
        userBob{jcr:primaryType = rep:PermissionStore}
          -1227964008{rep:accessControlledPath = /testPath/a, jcr:primaryType = 
rep:PermissionStore}
            0{rep:isAllow = true, rep:privileges = [1279], jcr:primaryType = 
rep:Permissions}
    default{jcr:primaryType = rep:PermissionStore}
      userBob{jcr:primaryType = rep:PermissionStore}
        -1227964006{rep:accessControlledPath = /testPath/c, jcr:primaryType = 
rep:PermissionStore}
          0{rep:isAllow = true, rep:privileges = [1279], jcr:primaryType = 
rep:Permissions}
{noformat}

> Multiplexing support in default PermissionStore implementation
> --------------------------------------------------------------
>
>                 Key: OAK-3777
>                 URL: https://issues.apache.org/jira/browse/OAK-3777
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: security
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>
> Similar to other parts we need to prototype support for multiplexing in 
> default permission store



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to