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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Permissions error in 2.4 ?

Go to End



Community Member, 3 Posts

5 October 2012 at 10:20pm

I encountered a strange permissions behaviour, and I believe this is a bug and not something mixed up in my datamodel.
I have a few available translations, with a separate group of editors for each translation (permissions are set up in SiteConfig's "who can edit" field and inherited by all pages in each translation).
All my users, that do not have admin rights, cannot edit DataObjects, but they can edit pages that own these objects.
Each time they click on "add DataObject" below ComplexTableField, they get a blank popup, and after closing it the link "add DataObject" suddenly disappears. They cannot edit or delete these objects also.
I don't even have any idea how to diagnose that further, nor how to fix that.
I even tried to hardcode canEdit() { return true; } in my DataObject, and also redeclaring $table->setPermissions('add','edit','show','delete') for each hasmany table, but nothing changes.
Please help me with this one.