You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Eric Norman (JIRA)" <ji...@apache.org> on 2012/05/19 07:30:33 UTC

[jira] [Commented] (SLING-2490) User can't add Childnodes after receiving jcr:write and jcr:read privileges

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

Eric Norman commented on SLING-2490:
------------------------------------

If you are trying to set the nodetype or add mixins, you will probably need to have the jcr:nodeTypeManagement privilege granted in addition to the jcr:write privilege.
                
> User can't add Childnodes after receiving jcr:write and jcr:read privileges
> ---------------------------------------------------------------------------
>
>                 Key: SLING-2490
>                 URL: https://issues.apache.org/jira/browse/SLING-2490
>             Project: Sling
>          Issue Type: Bug
>          Components: Authentication, JCR
>    Affects Versions: JCR Jackrabbit Access Manager 2.1.0
>         Environment: Xubuntu
>            Reporter: Chris Papagrigoriou
>            Priority: Critical
>
> Though I granted jcr:read and jcr:write to my user, it is not possible for him to add any Child nodes. He is able to delete knows and to set properties though.
> Trying curl -X MKCOL -u Odin:Odin http://localhost:8080/content/private/Odin/apps
> (jcr:write and jcr:read were given for the Odin Folder) gives me an Internal Server error 500.
> Trying via the sling Explorer gives me: javax.jcr.AccessDeniedException: Access denied.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira