diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-24 21:09:57 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-11-24 21:09:57 +0300 |
commit | 80b22a4413679216b470c7a4e9fefd0eb928add5 (patch) | |
tree | 909b8eb16b9316d5260e609b11d0eb7d8dc03323 /app/policies/user_policy.rb | |
parent | 92849dc177d5e0d11f89b4ca75f4e3e45ad6341b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/policies/user_policy.rb')
-rw-r--r-- | app/policies/user_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/user_policy.rb b/app/policies/user_policy.rb index 04fbc8467c9..ccab3d9f02d 100644 --- a/app/policies/user_policy.rb +++ b/app/policies/user_policy.rb @@ -33,6 +33,7 @@ class UserPolicy < BasePolicy enable :read_saved_replies enable :read_user_email_address enable :admin_user_email_address + enable :make_profile_private end rule { default }.enable :read_user_profile |