summaryrefslogtreecommitdiff
path: root/app/policies
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-09-14 15:09:28 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-14 15:09:28 +0000
commit307f6d8439ab4bcc33be5c34e63da004b8968634 (patch)
tree2d3f4cb2c2a784b17db245e6c98c11ff7f787700 /app/policies
parent9a5dcad39c5dd81384ae4ec2398435883b944363 (diff)
downloadgitlab-ce-307f6d8439ab4bcc33be5c34e63da004b8968634.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies')
-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 4da752fe474..c98e82efef7 100644
--- a/app/policies/group_policy.rb
+++ b/app/policies/group_policy.rb
@@ -80,6 +80,7 @@ class GroupPolicy < BasePolicy
enable :read_list
enable :read_label
enable :read_board
+ enable :read_group_member
end
rule { ~can?(:read_group) }.policy do