diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-15 18:15:04 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-02-15 18:15:04 +0300 |
commit | 78cfc7cf4afe0c7ffb72b8a9522b07873cd36820 (patch) | |
tree | 8cc90263a1593ddad6d9f817273fdcffdd10c9f6 /lib/gitlab/access.rb | |
parent | 524e97262236b70abe4399faef040f4298c31d38 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/access.rb')
-rw-r--r-- | lib/gitlab/access.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/gitlab/access.rb b/lib/gitlab/access.rb index d0b426aeb60..3e09d488bc3 100644 --- a/lib/gitlab/access.rb +++ b/lib/gitlab/access.rb @@ -33,13 +33,7 @@ module Gitlab MAINTAINER_SUBGROUP_ACCESS = 1 class << self - def values - if ::Feature.enabled?(:personal_project_owner_with_owner_access, default_enabled: :yaml) - options_with_owner.values - else - options.values - end - end + delegate :values, to: :options def all_values options_with_owner.values |