Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Permission on Content Fragment

minisanu
Level 3
Level 3

Hi Everyone,

I need to set up permission on the content fragment in such a way that only the MASTER can access and edit it, SLAVE can only access and SUB SLAVE should not even view it.

     1)To be more clear, we have parent(company), child(dealers) and sub child(shops) relationship in our requirement. Some of the content should be accessible only to master and not child or sub child.  Some of the content are accessible to parent and child but not sub child. The sub child should not even allowed to view the content either in parent or child.

     2)The content should be shared across pages provided the permission matches with otherpage

     3)Certain parts of content should be pulled as a summary into other page.

Please explain. Any help is greatly appreciated.

Thanks

1 Accepted Solution
minisanu
Correct answer by
Level 3
Level 3

I have tried it but it is not working in the case of content fragments. I granted only read access for slave and for master I gave all access. I am able to edit the variation created for slave in content fragment.

View solution in original post

6 Replies
poojac35931336
Level 4
Level 4

you can create three user groups master , slave, and sub-slave give required permissions to these user groups as per your requirement from console http://localhost:4502/useradmin​ .

If you have sign in or register service to your site add new users to respective groups.

minisanu
Level 3
Level 3

How can we set permission for content fragment based on user groups?

poojac35931336
Level 4
Level 4

by removing read access of everyone group for your site which is granted by default.

minisanu
Correct answer by
Level 3
Level 3

I have tried it but it is not working in the case of content fragments. I granted only read access for slave and for master I gave all access. I am able to edit the variation created for slave in content fragment.

View solution in original post

smacdonald2008
Level 10
Level 10

Fragments should work like other content in the AEM JCR with respect to permissions.