Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Bug: Saving group permissions is broken in 'develop' branch

#878

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'),

Reported by dleffler · January 23rd, 2013 @ 04:42 PM

State: resolved
Milestone: 2.1.1
Assigned to: dleffler dleffler

Activity

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.