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.

General Questions /

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

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


Reply


266 Views

Avatar
Ironcheese

Community Member, 33 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 :)