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

Hide OOTB Simple Fragment

rp12
Level 2
Level 2

Hi,

I'm trying to set up permission for a group to create Content Fragments. As part of this I want to remove permission for OOTB Content Fragment models.

Is there any way to hide OOTB Simple Fragment when create new Content Fragment?

riteshpatil_0-1593200433196.png

 

Really appreciate any help on this.

AEM 6.4 content fragments Group Policy
1 Accepted Solution
Albin_Issac
Correct answer by
Community Advisor
Community Advisor

See if this helps you

The Sample Fragment is located in the following location - /libs/settings/dam/cfm/templates/simple

You should able to hide the Sample Fragment by removing the read access for this node 

sample-content-fragment.png

(Cloned Sample Fragment to the same location just for demo)

sample-content-fragment.png

Sample Fragment is not visible  now. Test whether the required scenarios are working after hiding the Sample Fragment

Regards

Albin I

www.albinsblog.com

View solution in original post

3 Replies
Albin_Issac
Correct answer by
Community Advisor
Community Advisor

See if this helps you

The Sample Fragment is located in the following location - /libs/settings/dam/cfm/templates/simple

You should able to hide the Sample Fragment by removing the read access for this node 

sample-content-fragment.png

(Cloned Sample Fragment to the same location just for demo)

sample-content-fragment.png

Sample Fragment is not visible  now. Test whether the required scenarios are working after hiding the Sample Fragment

Regards

Albin I

www.albinsblog.com

View solution in original post

rp12
Level 2
Level 2

Hi Albin,

Thanks for the reply. We already thought of this approach but making changes under /libs will be overwritten after Service Pack installation or any upgrade.

Is there another way to handle this?

 

Really appreciate your help !

 

Thanks,

Ritesh

Albin_Issac
Community Advisor
Community Advisor

My understanding is the permission changes to the custom groups/users should not be overwritten by the service pack installation or any upgrade

Here the permission for the custom group has changed not the content under /libs.