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.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

My Profile popup window (link in bottom right of backend) doesnt work


Go to End


3 Posts   2657 Views

Avatar
pali

Community Member, 33 Posts

20 January 2011 at 10:36pm

hello,

My Profile popup window (link in bottom right of backend) doesnt work if logged in as a user with rights to Reports only.

SS version: 2.4.4

I created group "testgroup" which has access only to Reports tab. After i login i can see only Reports tab which is correct. But when i need to edit my profile (link in bottom right of backend) Reports tab is shown inside popup. Cant edit my userdata :(

Is it bug or behaviour? Any hints?

Pali

Avatar
schellmax

Community Member, 126 Posts

15 October 2011 at 7:17am

Edited: 17/10/2011 9:50pm

guess i'm too late to help you
but in case anyone else is having the same problem:
found that the problem exists only for users who don't have access to the 'pages' section of the cms.
it's because the 'canView' action of LeftAndMain.php (that's also where the 'myprofile' action is can be found) checks for permission code 'CMS_ACCESS_LeftAndMain'. so it's by design, but easy to patch.

ticket created at http://open.silverstripe.org/ticket/6742

Avatar
Sphere

Community Member, 46 Posts

8 December 2011 at 4:39am

Since bugtracker is down... What is your solution Schellmax?

I think I'm thinking wrongly on how to get this fixed.