Jump to:

22979 Posts in 11808 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Permissions error in 2.4 ?

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

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

Page: 1
Go to End
Author Topic: 242 Views
  • biurex
    Avatar
    Community Member
    3 Posts

    Permissions error in 2.4 ? Link to this post

    Hi.
    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.

    242 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.