##// END OF EJS Templates
repos: only flush permissions for owner on creation. The repo creation task flushes ALL and can be done async
super-admin -
r4869:dbc52491 default
parent child Browse files
Show More
@@ -242,7 +242,8 b' class AdminReposView(BaseAppView, DataGr'
242
242
243 repo_name = form_result.get('repo_name_full')
243 repo_name = form_result.get('repo_name_full')
244
244
245 PermissionModel().trigger_permission_flush()
245 affected_user_ids = [self._rhodecode_user.user_id]
246 PermissionModel().trigger_permission_flush(affected_user_ids)
246
247
247 raise HTTPFound(
248 raise HTTPFound(
248 h.route_path('repo_creating', repo_name=repo_name,
249 h.route_path('repo_creating', repo_name=repo_name,
General Comments 0
You need to be logged in to leave comments. Login now