##// END OF EJS Templates
permissions: flush all users permissions when creating a new user group....
super-admin -
r4727:ccc56075 default
parent child Browse files
Show More
@@ -247,8 +247,7 b' class AdminUserGroupsView(BaseAppView, D'
247 % user_group_name, category='error')
247 % user_group_name, category='error')
248 raise HTTPFound(h.route_path('user_groups_new'))
248 raise HTTPFound(h.route_path('user_groups_new'))
249
249
250 affected_user_ids = [self._rhodecode_user.user_id]
250 PermissionModel().trigger_permission_flush()
251 PermissionModel().trigger_permission_flush(affected_user_ids)
252
251
253 raise HTTPFound(
252 raise HTTPFound(
254 h.route_path('edit_user_group', user_group_id=user_group_id))
253 h.route_path('edit_user_group', user_group_id=user_group_id))
General Comments 0
You need to be logged in to leave comments. Login now