##// END OF EJS Templates
fix(permissions): use consent cache purge when creating repos, similar as groups and repo groups
super-admin -
r5242:f8424773 default
parent child Browse files
Show More
@@ -246,8 +246,7 b' class AdminReposView(BaseAppView, DataGr'
246
246
247 repo_name = form_result.get('repo_name_full')
247 repo_name = form_result.get('repo_name_full')
248
248
249 affected_user_ids = [self._rhodecode_user.user_id]
249 PermissionModel().trigger_permission_flush()
250 PermissionModel().trigger_permission_flush(affected_user_ids)
251
250
252 raise HTTPFound(
251 raise HTTPFound(
253 h.route_path('repo_creating', repo_name=repo_name,
252 h.route_path('repo_creating', repo_name=repo_name,
General Comments 0
You need to be logged in to leave comments. Login now