You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can hook Page::listable and set the event return to false to hide a page in ProcessPageList (from non-superusers). However, the page can still be discovered via:
Admin search (AJAX results)
Admin search (results page if user hits enter)
Listers
Maybe other places such as Page Reference fields?
It would be good if Page::listable could make a page invisible throughout the admin. Or if it's important to keep a targeted method just for ProcessPageList then introduce a new hookable method that controls visibility throughout the admin.
Why would the enhancement be useful to users?
The title or mere existence of a page might need to remain private from the current user.
szabeszg, teppokoivula, jmartsch, BernhardBaumrock and matjazpotocnik