Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

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.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

[SOLVED] How to set right permission on Staff Page (tutorial 2)


Go to End


3 Posts   1704 Views

Avatar
kochab

Community Member, 3 Posts

22 November 2008 at 6:21am

Edited: 25/11/2008 11:46pm

Hi,
I've implemented a Staff Pages application in Silverstripe following tutorial 2:
http://doc.silverstripe.com/doku.php?id=tutorial:2-extending-a-basic-site#adding_a_staff_section
Administrator of the website can modify staff pages and add new ones correctly.
However, other users which have access to:
CMSMain
LeftAndMain
AssetAdmin
cannot edit staff pages.
If they try to save one of this pages they are logged out from the website,
could someone please help?

thanks,
kochab

Avatar
Liam

Community Member, 470 Posts

22 November 2008 at 7:31am

This is probably caused by the bug which happens when you have an image field on your page type for anything but an administrator.

For 2.2.x there is a simple patch for Image.php
http://open.silverstripe.com/ticket/2769

Fixed in 2.3.

Avatar
kochab

Community Member, 3 Posts

25 November 2008 at 11:46pm

Thanks, now it works great,
I think this should be written on the tutorial page, it is really a nasty bug.
Moreover the fact that a tutorial fails is quite remarkable.