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.
-
I have evaluated the MR acceptance checklist for this MR.