AEM6.5 SP13 | Delete and move options | Community
Skip to main content
Level 5
May 9, 2023
Solved

AEM6.5 SP13 | Delete and move options

  • May 9, 2023
  • 1 reply
  • 1116 views

Hi All,

 

I have a requirement where delete option need to hide and move option need to keep as it is on site console. Tried using ACL/permission, both the options either hide or show.

Please advise how could 'delete' option can be hide?

Any help regarding this is highly appreciated.

 

Thanks,

Pradeep

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 Rohit_Utreja

@pradeepdubey82  You can create a group and assign this ACL to this specific group.
All users, for which 'Delete' should be removed/hidden, can be added into this group.
Rest of the users can be managed with other set of groups which doesn't have this ACL. Hence, all user belongs to this group will be able to see 'Delete' button.


@pradeepdubey82  Other option would be to add granite render condition. Please refer below URL for the same.

https://www.bounteous.com/insights/2020/06/10/control-aem-action-menus-render-conditions

1 reply

Rohit_Utreja
Community Advisor
Community Advisor
May 9, 2023

Hi @pradeepdubey82 

You can add below ACLs to deny access to 'Delete' option for a page.

Path: /libs/wcm/core/content/sites/jcr:content/actions/selection/deletepage

Privileges: jcr:all

Permission type: deny

 

I hope it helps!!

Level 5
May 9, 2023

Actually we need visible move and delete for some users, if this solution followed it will hide for everyone.

Rohit_Utreja
Community Advisor
Community Advisor
May 9, 2023

@pradeepdubey82  You can create a group and assign this ACL to this specific group.
All users, for which 'Delete' should be removed/hidden, can be added into this group.
Rest of the users can be managed with other set of groups which doesn't have this ACL. Hence, all user belongs to this group will be able to see 'Delete' button.