diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-01 10:27:36 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-06-01 10:27:36 +0300 |
commit | de222caa576cab3d0894c65531f5822f205877d5 (patch) | |
tree | e66805f398cfb22196e0181bef90066a0fe1b674 /app/policies/project_policy.rb | |
parent | 8a186dedfc1da12270ea77f2673b59fa08f770c1 (diff) |
Add latest changes from gitlab-org/security/gitlab@15-0-stable-ee
Diffstat (limited to 'app/policies/project_policy.rb')
-rw-r--r-- | app/policies/project_policy.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb index 60519dc346b..7c439fe8b29 100644 --- a/app/policies/project_policy.rb +++ b/app/policies/project_policy.rb @@ -748,6 +748,10 @@ class ProjectPolicy < BasePolicy prevent :register_project_runners end + rule { can?(:admin_project_member) }.policy do + enable :import_project_members_from_another_project + end + private def user_is_user? |