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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-08-24 00:11:23 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-08-24 00:11:23 +0300
commit0510f42da38bb0eb1d06aeb82b4d16ed71135776 (patch)
treeb83ce9d25ff8bf1938c44e51916fd5bd86e5ee8b /app/policies/user_policy.rb
parent5e9fe672fa0eda6322bd392e8502d1886804bd07 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/user_policy.rb')
-rw-r--r--app/policies/user_policy.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/user_policy.rb b/app/policies/user_policy.rb
index 067f0f6a9d2..018c061af9f 100644
--- a/app/policies/user_policy.rb
+++ b/app/policies/user_policy.rb
@@ -25,6 +25,7 @@ class UserPolicy < BasePolicy
enable :update_user_status
enable :read_user_personal_access_tokens
enable :read_group_count
+ enable :read_user_groups
end
rule { default }.enable :read_user_profile