diff --git a/rhodecode/apps/admin/views/repositories.py b/rhodecode/apps/admin/views/repositories.py --- a/rhodecode/apps/admin/views/repositories.py +++ b/rhodecode/apps/admin/views/repositories.py @@ -242,7 +242,8 @@ class AdminReposView(BaseAppView, DataGr repo_name = form_result.get('repo_name_full') - PermissionModel().trigger_permission_flush() + affected_user_ids = [self._rhodecode_user.user_id] + PermissionModel().trigger_permission_flush(affected_user_ids) raise HTTPFound( h.route_path('repo_creating', repo_name=repo_name,