diff options
author | Mark Chao <mchao@gitlab.com> | 2018-06-04 05:58:15 +0300 |
---|---|---|
committer | Mark Chao <mchao@gitlab.com> | 2018-06-06 15:01:45 +0300 |
commit | a0b6784488ade7a5673a5a32dc32653b30da1350 (patch) | |
tree | 9a416626fe6023227bb447f5c0a5350e1cc89f66 /app/policies/project_policy.rb | |
parent | 5ee56c9afbb9c48fa009a3c6aedfd15119f0d345 (diff) |
policy
Diffstat (limited to 'app/policies/project_policy.rb')
-rw-r--r-- | app/policies/project_policy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index 99a0d7118f2..8ea5435d740 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -45,7 +45,7 @@ class ProjectPolicy < BasePolicy desc "User has developer access" condition(:developer) { team_access_level >= Gitlab::Access::DEVELOPER } - desc "User has master access" + desc "User has maintainer access" condition(:master) { team_access_level >= Gitlab::Access::MASTER } desc "Project is public" |