how to hide quickpublish & manage publication in sites for touch UI AEM 6.5 | Community
Skip to main content
Level 3
February 25, 2020
Solved

how to hide quickpublish & manage publication in sites for touch UI AEM 6.5

  • February 25, 2020
  • 1 reply
  • 5785 views

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

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

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.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
February 25, 2020

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.

Arun Patidar
arunpatidar
Community Advisor
Community Advisor
February 27, 2020

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

 

 

Arun Patidar