Hide/Show AEM dam asset menu options | Community
Skip to main content
mayankj38287855
May 31, 2018
Solved

Hide/Show AEM dam asset menu options

  • May 31, 2018
  • 1 reply
  • 3420 views

We have a group of a creative user and we want to give permission for only check-in check-out to dam assets without showing menu option like edit, delete and other options as well. So how we can achieve this without overlaying or customization of OOB component.

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 arunpatidar

Hi,

You can achieve this using overlay.

1. Overlay the node which you want to modify e.g. /libs/dam/gui/content/assets/jcr:content/actions/selection/create

2. modify privileges property in below node to add privilege which your creative users won't have e.g. jcr:readAccessControl

/apps/dam/gui/content/assets/jcr:content/actions/selection/create/granite:rendercondition/privilege

I think, this should work.

For more details find below

Render Condition — Granite UI 1.0 documentation

Privilege — Granite UI 1.0 documentation

JCR 2.0: 16 Access Control Management (Content Repository for Java Technology API v2.0)  

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
May 31, 2018

Hi,

You can achieve this using overlay.

1. Overlay the node which you want to modify e.g. /libs/dam/gui/content/assets/jcr:content/actions/selection/create

2. modify privileges property in below node to add privilege which your creative users won't have e.g. jcr:readAccessControl

/apps/dam/gui/content/assets/jcr:content/actions/selection/create/granite:rendercondition/privilege

I think, this should work.

For more details find below

Render Condition — Granite UI 1.0 documentation

Privilege — Granite UI 1.0 documentation

JCR 2.0: 16 Access Control Management (Content Repository for Java Technology API v2.0)  

Arun Patidar
sams16001423
Level 2
December 27, 2019

Hi Arun @arunpatidar , By doing user is able to see move option still , which is coming from libs and for admin move option is visible which is from apps. any idea how to hide for a particular user?

Thanks in advance.