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:15:00 UTC

[jira] [Commented] (OAK-8023) AccessControlManagerImpl can not handle repository level when editing policies by principal

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

angela commented on OAK-8023:
-----------------------------

[~stillalex], proposed patch attached. let me know if you have a better value for the repository-path-marker constant.... i did try empty string to keep it the same as before but that doesn't work for the odd conversion (see above).

> AccessControlManagerImpl can not handle repository level when editing policies by principal
> -------------------------------------------------------------------------------------------
>
>                 Key: OAK-8023
>                 URL: https://issues.apache.org/jira/browse/OAK-8023
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, security
>            Reporter: angela
>            Priority: Minor
>         Attachments: OAK-8023.patch
>
>
> [~stillalex], it seems that editing access control by principal in the default implementation doesn't allow for applying entries to the 'null' path.
> initially i thought that we can use an empty string value instead for the {{rep:nodePath}}, but that doesn't work as it gets converted to "." for some reason. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)