Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Lee Yu <heinrich@gitlab.com>2019-02-25 16:36:28 +0300
committerHeinrich Lee Yu <heinrich@gitlab.com>2019-02-25 16:41:16 +0300
commitb81e7c52d3e82e0c053a39fac9c4fe21abcf6103 (patch)
tree9965938a6e33235507e4de20b476924e5a783cae /app/policies/group_policy.rb
parent992183534dd1af54bf891789aca5777ea91c0942 (diff)
Enable `:read_list` when `:read_group` is enabled
Diffstat (limited to 'app/policies/group_policy.rb')
-rw-r--r--app/policies/group_policy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/group_policy.rb b/app/policies/group_policy.rb
index c25766a5af8..298769c0eb8 100644
--- a/app/policies/group_policy.rb
+++ b/app/policies/group_policy.rb
@@ -54,6 +54,7 @@ class GroupPolicy < BasePolicy
rule { has_projects }.policy do
enable :read_group
+ enable :read_list
enable :read_label
end