Jump to:

23459 Posts in 18906 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » Permission denied 403 when submitting to Member_ProfileForm

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: 287 Views
  • opex
    Community Member
    7 Posts

    Permission denied 403 when submitting to Member_ProfileForm Link to this post


    I'm stuck on one of these wierd things I can't seem to get past. I'm trying to figure out why, as a regular user with access to the CMS, I can't change my profile data with the "profile" link in the down right corner.

    When I visit /admin/myprofile, which is the url in the iframe, the form is rendered properly. But when I try to submit I get to /admin/Member_ProfileForm and is faced with a permission denied page.

    I've been debugging canView() in LeftAndMain because there's the stuff I can't get my head around. When visiting myprofile the "CMS_ACCESS_$this->class" permission returns true and canView() ends at the bottom and returns true. But when I submit and get to Member_ProfileForm "CMS_ACCESS_$this->class" returns false. What's really mind-boggling is that in both cases $this->class is CMSMain.

    Any ideas?

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.