I'm trying to figure out how to allow users to make changes to the website but then only one person ( admin ) go in and publish. Seems like this would be easy to do. I understand this is available in 2.4. Is this available in 2.3xxxx?
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.
I don't know about 2.3xxx, but 2.4 has a "CMS Workflow" module here which does exactly what you describe:
That's right, there is a module for that. You can make it work with 2.3 too, but you might need to experiment with which revision you use. The trunk will not work in this case.
m
Hi jmbinfo,
you can do this in your page model:
function canPublish(){
return Permission:check('ADMIN');
}
This will allow only admins to publish content. This works in 2.3 and most likely versions before that too.
Aram
www.ssbits.com - SilverStripe Tutorials, Tips and other bits