Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Prevent view access to pages for Logged-in Users


Go to End


959 Views

Avatar
Motoma

Community Member, 7 Posts

17 December 2009 at 8:40am

Hello all,

I would like to add the ability to set a Pages as viewable only by users who are not logged in, as well as add an option to the Page->Access screen to set this option.

Is it possible to do this in a generic way that is carried on to all Page subclasses, and doesn't involve edition the base code?

Thanks in advance for any insight.