diff options
author | Fabio Papa <fabtheman@gmail.com> | 2019-06-27 13:39:04 -0700 |
---|---|---|
committer | Fabio Papa <fabtheman@gmail.com> | 2019-07-19 11:55:46 -0700 |
commit | 99e6c084368072b2628d6a53cf241a7e75da3662 (patch) | |
tree | 5417987ca4c29dd39e30ac8883f459fb894117bd /lib/gitlab | |
parent | 1044930a527ef0db4e6e85b9b0d1d6b6ae00b268 (diff) | |
download | gitlab-ce-99e6c084368072b2628d6a53cf241a7e75da3662.tar.gz |
Add constants representing Owner and Maintainer group access levels
Diffstat (limited to 'lib/gitlab')
-rw-r--r-- | lib/gitlab/access.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/gitlab/access.rb b/lib/gitlab/access.rb index 6eb08f674c2..77076ead47a 100644 --- a/lib/gitlab/access.rb +++ b/lib/gitlab/access.rb @@ -29,6 +29,10 @@ module Gitlab MAINTAINER_PROJECT_ACCESS = 1 DEVELOPER_MAINTAINER_PROJECT_ACCESS = 2 + # Default subgroup creation level + OWNER_SUBGROUP_ACCESS = 0 + MAINTAINER_SUBGROUP_ACCESS = 1 + class << self delegate :values, to: :options |