You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2014/11/19 12:09:33 UTC

[jira] [Commented] (JCR-3830) Allow for privilege discovery in jcr-server

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

angela commented on JCR-3830:
-----------------------------

adding link to JCR-2113 as this is blocking Alfusainey from completing the privilege discovery part in jcr2spi.

> Allow for privilege discovery in jcr-server
> -------------------------------------------
>
>                 Key: JCR-3830
>                 URL: https://issues.apache.org/jira/browse/JCR-3830
>             Project: Jackrabbit Content Repository
>          Issue Type: Task
>          Components: jackrabbit-jcr-server
>            Reporter: angela
>            Assignee: angela
>            Priority: Minor
>
> in order to allow for implementing {{AccessControlManager.hasPrivilege}} and AccessControlManager.getSupportedPrivileges}}, the dav resources in jcr-server should allow to retrieve the following protected properties:
> - SUPPORTED_PRIVILEGE_SET : on the workspace resource and on node-resources
> - CURRENT_USER_PRIVILEGE_SET : on the workspace resource and on node-resources
> since {{Session#isGranted}} is already covered by the {{JcrPrivilegeReport}} (which would better be called JcrActionsReport), it should be save to replace the current implementation of CURRENT_USER_PRIVILEGE_SET on {{AbstractItemResource}} which in this current from doesn't make too much sense in jcr-remoting situation based on JCR 283.



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