Commit a0b67844 authored by Mark Chao's avatar Mark Chao

policy

parent 5ee56c9a
...@@ -45,7 +45,7 @@ class ProjectPolicy < BasePolicy ...@@ -45,7 +45,7 @@ class ProjectPolicy < BasePolicy
desc "User has developer access" desc "User has developer access"
condition(:developer) { team_access_level >= Gitlab::Access::DEVELOPER } 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 } condition(:master) { team_access_level >= Gitlab::Access::MASTER }
desc "Project is public" desc "Project is public"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment