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
Solved! Go to Solution.
Views
Replies
Total Likes
@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
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!!
Actually we need visible move and delete for some users, if this solution followed it will hide for everyone.
@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
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies