Skip to content

Fix NoMethodError on CreateBotService when authorization is enabled

What does this MR do and why?

This MR fixes a problem with increased error rate for Security::OrchestrationConfigurationCreateBotWorker caused by undefined method can_admin_all_resources?' for false:FalseClass` error.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to gitlab-com/gl-infra/production#16439 (closed)

Merge request reports

Loading