21286 Posts in 5733 Topics by 2602 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, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 155 Views |
-
Permission denied 403 when submitting to Member_ProfileForm

7 June 2012 at 12:56pm
Hi,
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?
| 155 Views | ||
|
Page:
1
|
Go to Top |

