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