Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Access permission on Relate menu option

Avatar

Level 4

Hi Experts,

 

I have one requirement to show the relate option to author but not "Quick Publish" or "Manage Publication" for AEM assets. i have attached the screen. When I am giving the edit permission then it is showing both "Relate" and "manage Publication" as well.

Screen Shot 2020-04-23 at 1.31.34 PM.png

Are there any way to do it?

 

Thanks

~S

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Those options are shown and hidden based on permission.

Quick Publish is shown on replication permission but manages publication is shown on edit.

You can't achieve both OOTB using permission.

 

you have to overlay actions menu of assets and create one more renditioncondition to hide the manage publication button.



Arun Patidar

View solution in original post

6 Replies

Avatar

Correct answer by
Community Advisor

Those options are shown and hidden based on permission.

Quick Publish is shown on replication permission but manages publication is shown on edit.

You can't achieve both OOTB using permission.

 

you have to overlay actions menu of assets and create one more renditioncondition to hide the manage publication button.



Arun Patidar

Avatar

Level 4
Hi Experts, With overlay it can be hidden. But how we can hide based on user group. I mean for one user group we need to show and for other user group we do not want to show. where we can pass the user group information. thanks

Avatar

Community Advisor
You need to create custom graniterenderer to show hide for particular user group. http://www.nateyolles.com/blog/2016/07/aem-granite-custom-render-conditions


Arun Patidar

Avatar

Employee

You should be able to achieve this use-case by overlaying the /libs/dam/gui/content/assets/jcr:content/actions/selection/quickpublish node and adding the below property. 

You can do this for other options as well.


name: granite:hide
type: Boolean
value: true