Skip license capacity check for security policy bot user
What does this MR do and why?
This MR reintroduces back changes from !148893 (merged) that were reverted in !149274 (merged) due to unhandled nil
user.
A safeguard and regression tests were added in this MR in addition to the original changes.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Martin Čavoj