How to hide/disable publish/unpublish option in touch UI for AEM 6.1 for certain groups | Community
Skip to main content
Level 3
November 1, 2017

How to hide/disable publish/unpublish option in touch UI for AEM 6.1 for certain groups

  • November 1, 2017
  • 3 replies
  • 6998 views

Hello Team,

I have a requirement to hide/disable the publish/unpublish option for certain user groups.

i thought of going with the straight forward approach of removing the replicate option for the content path for that user groups and publish/un publish option is hidden as expected.

But when the user from that group is deleting any of the pages, its triggering the request for delete workflow and assigning it to the administrator, even though user has the read, write, modify and delete permissions on that content path. Administrators has to complete those request for deletion steps to complete the flow. Its triggering the request for delete workflow even for unpublished pages too.

Is there an alternate way to achieve this requirement of hide/disable the publish/unpublish option and still able to delete those unpublished pages with out going through the request for delete workflow?

Best Regards,

Durga

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

3 replies

smacdonald2008
Level 10
November 1, 2017

There is no standard OOTB way of doing this. That is - in AEM - there is no Admin functionality that lets an admin specify which buttons to hide or display based on user roles.

kautuk_sahni
Community Manager
Community Manager
November 2, 2017

[Classic UI]

You should be able to hide the publish button by going to /useradmin select the user or group you want to change then go to the permissions tab and uncheck the replicate checkbox

[Touch UI] As mentioned by Scott, we do not have OOTB for this.

Check this:- User Administration and Security

Kautuk Sahni
shubha_kirani
Level 2
February 22, 2018

Durga, as I observed workflows sit in admin queue only if user do not have full delete access. On sidekick user see 'Delete Page' option (n there is no easy way to hide that).

The way we overcame this problem in our system: Created a custom 'Delete workflow' and have user submit workflow instead of clicking 'Delete Page' on sidekick. You can either have authorized people approve or automatically delete with a notification (that can be used for audit purpose).

Delete workflow w/o approval:

Delete workflow with approval:

With ACL, I can hide Delete on classic UI not figured out on Touch UI.