Permission on Content Fragment | Community
Skip to main content
Level 3
August 2, 2017
Solved

Permission on Content Fragment

  • August 2, 2017
  • 6 replies
  • 4764 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by minisanu

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.

6 replies

Level 4
August 2, 2017

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.

minisanuAuthor
Level 3
August 2, 2017

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

Level 4
August 2, 2017

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

minisanuAuthorAccepted solution
Level 3
August 2, 2017

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.

smacdonald2008
Level 10
August 2, 2017

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

minisanuAuthor
Level 3
August 4, 2017

Thanks it worked