jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anjan <poliset...@gmail.com>
Subject Group membership is not honoured?
Date Tue, 10 Dec 2013 10:21:37 GMT
Hi, I have created a folder (say "content") in Jackrabbit (I am using Sling)
and here are ACEs applied to this folder.

*{"Managers":{"principal":"Managers","granted":["jcr:removeNode","jcr:versionManagement","jcr:modifyProperties","jcr:nodeTypeManagement","jcr:read","jcr:modifyAccessControl","jcr:addChildNodes"],"order":0},"everyone":{"principal":"everyone","granted":["jcr:read","jcr:readAccessControl","jcr:removeChildNodes"],"order":1},"administrators":{"principal":"administrators","granted":["jcr:all"],"order":2}}*

In the above JSON, "Managers" is a group.  I logged in with "admin" user and
created a folder "child" under "content" folder (a child of "content"
folder).

I have created a user (say "test") and added this user to "Managers" group. 
But when I login with "test" user, I do not see the "child" folder.

If I apply the permissions at the user level, then I can see the folder.  I
am not sure what I am missing here.

Btw, I am using the below JCR-SQL2 query to retrieve the child folders.
select * from [sling:Folder] as t where
ischildnode(t,["/path/to/content/node"]) order by name();



--
View this message in context: http://jackrabbit.510166.n4.nabble.com/Group-membership-is-not-honoured-tp4660059.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

Mime
View raw message