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.

Customising the CMS /

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

Cannot edit tables with custom user


Go to End


3 Posts   968 Views

Avatar
santosmateo

Community Member, 14 Posts

6 August 2011 at 7:03am

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
Avatar
swaiba

Forum Moderator, 1899 Posts

6 August 2011 at 12:06pm

try adding this to your dataobjects...

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

Avatar
santosmateo

Community Member, 14 Posts

6 August 2011 at 12:39pm

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.