Skip to main content
shail860510
June 5, 2023
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
Community Advisor
June 5, 2023

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

ksh_ingole7
Community Advisor
ksh_ingole7Community AdvisorAccepted solution
Community Advisor
June 5, 2023

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
aanchal-sikka
Community Advisor
Community Advisor
June 5, 2023

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