Disable unpublish option from page properties | Community
Skip to main content
shail860510
New Participant
Jun 5, 2023 5:45 AM UTC
Solved

Disable unpublish option from page properties

Hi All,I am trying to disable the unpublish option for authors groups from Page information of root node of a page and other child pages should have publish & unpublish options. Admins should be able to publish root node .

I tried using render condition by overlaying unpublish node ,however it disables child pages also to unpublish . Any leads/pointer to resolve this issue?

Overlay Path:

/apps/wcm/core/content/editor/jcr:content/content/items/content/header/items/headerbar/items/pageinfopopover/items/list/items/unpublish

 

Thanks,Shail

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ksh_ingole7
ksh_ingole7Accepted solution
New Participant
Jun 5, 2023 8:06 AM UTC

Hi @shail860510 

 

To the best of my knowledge there is no Out of the box way to do so. 

 

One way that I can think of is that you create a custom workflow for deactivation of Page. 

 

Steps : If page is deactivated check if the path is of Root note.

If YES -> Only allow user with admin privileges to deactivate the page.

If NO -> Deactivate the page. (For all users). 

2 replies

aanchal-sikka
New Participant
Jun 5, 2023 9:24 AM UTC

Hello @shail860510 

 

Easiest way would be to revoke the replicate permission for authors on Root node.

This would remove publish and unpublish for authors.

 

Translate
Aanchal Sikka
ksh_ingole7
ksh_ingole7Accepted solution
New Participant
Jun 5, 2023 8:06 AM UTC

Hi @shail860510 

 

To the best of my knowledge there is no Out of the box way to do so. 

 

One way that I can think of is that you create a custom workflow for deactivation of Page. 

 

Steps : If page is deactivated check if the path is of Root note.

If YES -> Only allow user with admin privileges to deactivate the page.

If NO -> Deactivate the page. (For all users). 

Translate