21278 Posts in 5728 Topics by 2599 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 197 Views |
-
SilverStripe User Roles

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
-
Re: SilverStripe User Roles

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
-
Re: SilverStripe User Roles

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
| 197 Views | ||
|
Page:
1
|
Go to Top |


