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.

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

SS2.4 :: Can't edit "/admin/myprofile" without Site Content Permission?


Go to End


1017 Views

Avatar
Ironcheese

Community Member, 36 Posts

14 October 2013 at 10:39pm

Hi folks,

On a site of a client I have a group of people. They should be able to edit a Module (News Posts) in the Backend. But nothing else.
Problem is: when they click on "My Profile" (the link in the footer) and the popup appears it has the content of the complete backend.

I solved this by assigning the Site Content Permission and added to my Page.php the canCreate, canEdit and so on handlers to prevent them from doing anything "stupid". Then and only then they are able to edit their own profile.

Is this a bug? Is there a better way?
I'm using SS 2.4.9.

Any hint or help is appreaciated :)