22401 Posts in 6852 Topics by 2748 members
|Go to End|
29 May 2012 at 9:01am
I'm new to Silverstripe and am wondering if content has an owner. I would like to set up permissions similar to Drupal where a user can only edit the content they created. I only see group permissions. Is this something you can do in Silverstripe?
30 May 2012 at 2:37am
Welcome to the forums!
Absolutely, within the code for the relevant page (or all pages) add fucntions returning true/false for canView/canEdit/canCreate based on the user. Somethign like this (including Willr comments) http://www.silverstripe.org/general-questions/show/16894
I haven't used this myself but I do believe it is might be worth checking out the advanced workflow module https://github.com/silverstripe-australia/advancedworkflow becasue this adds more to the control of editting sitetree content
31 May 2012 at 9:31am
Thank you for your kind welcome and for your quick response. I will have to check out the advancedworkflow module
I found this module https://github.com/silverstripe-labs/silverstripe-peruseraccess but so far I haven't had any success in installing it.
I am initially trying to create a community event calendar where users can add events but should only be allowed to edit/delete their own events.
|Go to Top|