Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Permission on Content Fragment

Avatar

Level 4

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

Avatar

Correct answer by
Level 4

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

Avatar

Level 5

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.

Avatar

Level 4

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

Avatar

Level 5

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

Avatar

Correct answer by
Level 4

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.

Avatar

Level 10

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