23374 Posts in 18175 Topics by 2866 members
|Go to End|
27 August 2012 at 11:56pm
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.
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
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
3 September 2012 at 1:56am
Thanks for the information!
|Go to Top|