Hi all!
We’re wondering if there is a way to remove the option to hide a page from the Page Information panel unless a user has admin rights and/or has the user type: Advanced?
Use case
We don’t want general users (with view/edit/delete rights) to have the option to hide a page. To my mind, even mentioning the concept of hidden pages to a general user might introduce unnecessary confusion given that most hidden pages are ‘under the hood’ / XWikiAdmin-level pages.
In the user profile preferences menu, we’ve removed the ‘display hidden pages’ preference from general users by adding a condition ($hasAdmin) so the option only displays to those with admin rights. Could we do something similar for the Page Information panel?
Thanks!
2 posts - 2 participants