Skip to main content
shail860510
June 5, 2023
Répondu

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

Ce sujet a été fermé aux réponses.
Meilleure réponse par ksh_ingole7

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 commentaires

ksh_ingole7
Community Advisor
ksh_ingole7Community AdvisorRéponse
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). 

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.

 

Aanchal Sikka