diff options
author | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-02-25 16:36:28 +0300 |
---|---|---|
committer | Heinrich Lee Yu <heinrich@gitlab.com> | 2019-02-25 16:41:16 +0300 |
commit | b81e7c52d3e82e0c053a39fac9c4fe21abcf6103 (patch) | |
tree | 9965938a6e33235507e4de20b476924e5a783cae /app/policies/group_policy.rb | |
parent | 992183534dd1af54bf891789aca5777ea91c0942 (diff) |
Enable `:read_list` when `:read_group` is enabled
Diffstat (limited to 'app/policies/group_policy.rb')
-rw-r--r-- | app/policies/group_policy.rb | 1 |
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 |