I want to hide the Publish button on touch ui both from the page and the sites.html for a particular group of users. Can we do that as we did in classic Ui by going to crx/explorer and denying jcr:read access. If yes then which path should we deny. Or is there any other way to do it?
Solved! Go to Solution.
|Replicate||The user can replicate content to another environment (for example, the Publish environment). The privilege is also applied to any child pages.|
You can control from here.
Overlay node in your project /libs/wcm/core/content/sites/jcr:content/actions/selection
to overlay copy the above from libs to under /apps/wcm/core/content
Remove the publish node under this node and this will remove the publish button. There are other action buttons you can remove if you wish to customise it.
Hope it will help others who will be looking for the same.