
Bug: Saving group permissions is broken in 'develop' branch
Reported by dleffler | January 23rd, 2013 @ 04:42 PM | in 2.1.1 (closed)
There is a bug in the new permissions code that prevents saving group permissions. You'll be taken to a Not Found page instead. The fix is easy, but at the moment can't be pushed up due to some complex changes with the move to Container 2.0.
To fix locally, edit the /framework/modules/user/controllers/usersController.php file and insert at line 1087
'loc'=>$loc,
so that
'perms'=>$perms, 'title'=>($modulename != 'navigationController' || ($modulename == 'navigationController' && !empty($loc->src))) ? $mod->name().' '.($modulename != 'containermodule' ? gt('module') : '').' ' : gt('Page'),
becomes
'perms'=>$perms, 'loc'=>$loc, 'title'=>($modulename != 'navigationController' || ($modulename == 'navigationController' && !empty($loc->src))) ? $mod->name().' '.($modulename != 'containermodule' ? gt('module') : '').' ' : gt('Page'),
Comments and changes to this ticket
-
-
dleffler January 24th, 2013 @ 04:38 PM
- State changed from new to resolved
Fixed by a recent push
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS