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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

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

How Do I let different user see different site content?


Go to End


1205 Views

Avatar
overboming

Community Member, 2 Posts

27 August 2009 at 3:15am

overloading SiteTree::canView() doesn't seem to be a good enough solution, since user will see the items is so there, except it looks grey and not viewable. Can anyone tell me how to make sure user won't 'see' certain items in the site content tree(like only a subtree) ?