31 January 2010 at 11:45pm
Have just started using SilverStripe and love what it allows me to achieve for my village community site (see http://thruxtonvillage.com); however, at the moment this is all maintained by me via Admin and I'd like to be able to open certain pages to the relevant persons in the village.
For the life of me I cannot work out how the permissions/groups etc. are supposed to work.
Is there an idiot's guide somewhere for someone like me (an idiot!)
5 February 2010 at 10:40pm
The really quick overview is that permission codes are used to check if a user can do something - these are just arbitrary strings like CREATE_THIS, EDIT_THAT. Each Group can have several permission codes attached to it, and each Member can be a member of multiple groups. This is how permissions work for things like CMS access.
For page viewing it's a little different. Each Page has a relationship to many groups - you can manage this in the Access tab. If you specify access only to the selected groups, then when the page is requested the system will check if the current member belongs to one of the groups you selected. If they are, they are shown the page.
5 February 2010 at 10:50pm
AJShort - thanks for the response, I'll see if I can put that into practice, I have set all pages to be viewable to all, but want to restrict access to the edit functions different users different screens
15 February 2010 at 1:22am
(Last edited: 15 February 2010 2:12am),
Ok, I have been playing a bit and can restrict (edit) access to certain individuals to certain pages... but...
2) How do I provide (restricted) access to certain people so that they can upload files to specific directories (so they have PDF, images etc, they can use on their pages)?
3) How do I prevent a user deleting a page or re-ordering the pages on the site?