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.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

SilverStripe User Roles


Go to End


4 Posts   1555 Views

Avatar
ptvw

Community Member, 10 Posts

27 August 2012 at 11:56pm

Hi -

I'm thinking of using Silver Stripe for a new site which requires two member user roles. The members will have access to different site areas when they have logged in as members of the site.

Is this a fairly easy task to accomplish in Silver Stripe?

Is there any documentation that I can read which would go about explaining how to implement this is SS?

Any help or advice would be greatly appreciated.

Many Thanks

ptvw

Avatar
ptvw

Community Member, 10 Posts

27 August 2012 at 11:59pm

Just to avoid any confusion im talking about user roles that arent associated with logging into the CMS but rather users of the site

Avatar
Willr

Forum Moderator, 5523 Posts

30 August 2012 at 8:45pm

User permissions (and roles) can be used for backend, frontend, api.. same system. You could provide a couple new permission codes then check for these permissions in your controller actions. Or, without touching code, you can set simple view access permissions to individual pages based on groups from the CMS (under each pages 'access' tab).

For more information on setting custom permssions see http://doc.silverstripe.org/framework/en/reference/permission

Avatar
ptvw

Community Member, 10 Posts

3 September 2012 at 1:56am

Thanks for the information!