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?
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.
Hi,
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
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.
Thanks,
Tom