Hi,
I have to hide quick publish & manage publication buttons for particular user group in AEM 6.5 touch UI. I tried looking into giving deny permission in useradmin but i could not find that particular nodes.
/libs/wcm/core/content/sites/jcr:content/actions/selection/quickpublish,
/libs/wcm/core/content/sites/jcr:content/actions/selection/managepublication.
Please help me to proceed with this.
Thanks in advance
Divya
Solved! Go to Solution.
Views
Replies
Total Likes
you can hide those button using ACL if you remove replication permission from /content part
Another way is to use sling merger https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/sling-resource-merger.html where you can override existing navigation nodes(/libs/wcm/core/content/sites/jcr:content/actions/selection) and use sling:hideResource (Boolean) - Indicates whether the resources should be completely hidden, including its children.
Views
Replies
Total Likes
you can hide those button using ACL if you remove replication permission from /content part
Another way is to use sling merger https://helpx.adobe.com/experience-manager/6-3/sites/developing/using/sling-resource-merger.html where you can override existing navigation nodes(/libs/wcm/core/content/sites/jcr:content/actions/selection) and use sling:hideResource (Boolean) - Indicates whether the resources should be completely hidden, including its children.
Views
Replies
Total Likes
Thank you for your response.
I have used ACL approach since i should hide the quick publish & manage publication options only for specific user groups. I have given only read access to that group and denied replicate ACL.
While doing this, i can hide quick publish option but manage publication button is still visible.
Thanks,
Divya
Views
Replies
Total Likes
In this case you can override manage publication and add granite:rendercondition node and create custom simple renderer. e.g. https://aemlab.blogspot.com/2019/07/aem-granite-custom-render-conditions.html
In this servlet you can get user and groups from request e.g. https://github.com/arunpatidar02/aem63app-repo/blob/master/java/SimpleGetGroup.java
JSP Example -
https://github.com/arunpatidar02/aem63app-repo/blob/master/jsp/grouprenderecondition.jsp
Views
Replies
Total Likes
Views
Likes
Replies