Jump to:

5540 Posts in 1738 Topics by 1224 members

Customising the CMS

SilverStripe Forums » Customising the CMS » Cannot edit tables with custom user

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

Page: 1
Go to End
Author Topic: 498 Views
  • santosmateo
    Avatar
    Community Member
    11 Posts

    Cannot edit tables with custom user Link to this post

    Hello,

    I created a new user, and only if I activate "all administrative rights" can modify a table through GetCMSFields included, but this way I can not hide the tabs or other elements of the CMS.

    How I can modify the permissions of the new user so that, without activating "all administrative rights" within the Security / permissions, can modify data in the table?

    In any case, even off that box, if I can create or modify the content of the pages normally.

    Thank you very much!

    Attached Files
  • swaiba
    Avatar
    Forum Moderator
    1792 Posts

    Re: Cannot edit tables with custom user Link to this post

    try adding this to your dataobjects...

    function canCreate() {return true;}
    function canEdit() {return true;}
    function canDelete() {return true;}

  • santosmateo
    Avatar
    Community Member
    11 Posts

    Re: Cannot edit tables with custom user Link to this post

    Thank you very much!

    I'm starting in SilverStripe and sometimes I have trouble finding what I want in the documentation.

    Thank you for responding so quickly.

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