Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2025-02-12 21:11:54 +00:00
parent 664908c02e
commit a26438c547
93 changed files with 1688 additions and 233 deletions

View File

@ -283,7 +283,7 @@ module Gitlab
end
def bot_user_can_read_project?(user, project)
(user.project_bot? || user.service_account? || user.security_policy_bot?) && can_read_project?(user, project)
(user.project_bot? || user.ci_pipeline_bot? || user.service_account? || user.security_policy_bot?) && can_read_project?(user, project)
end
def valid_oauth_token?(token)