Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1369

Removing option to create hidden pages from Page Information panel

$
0
0

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?

Screenshot 2024-01-27 at 8.03.06 PM

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

Read full topic


Viewing all articles
Browse latest Browse all 1369

Trending Articles