Jump to:

23481 Posts in 18951 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » SS2.4 :: Can't edit "/admin/myprofile" without Site Content Permission?

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: 216 Views
  • Ironcheese
    Avatar
    Community Member
    33 Posts

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

    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

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