diff options
Diffstat (limited to 'app/policies/project_policy.rb')
-rw-r--r-- | app/policies/project_policy.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index 4d49c96d268..ee47acc6041 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -469,6 +469,8 @@ class ProjectPolicy < BasePolicy prevent :create_pipeline end + rule { admin }.enable :change_repository_storage + private def team_member? |