Expand my Community achievements bar.

SOLVED

Disable unpublish option from page properties

Avatar

Level 1

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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). 

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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). 

Avatar

Community Advisor

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