Acquire lease when processing security policies
requested to merge 383235-security-approval-rules-does-not-work-when-same-policy-project-is-linked-to-both-group-and into master
What does this MR do and why?
Fixes a race condition in a worker by adding lease acquisition. The race condition occurs when the same security policy is assigned to a project and the project's containing group.
See:
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.
Related to #383235 (closed)
Edited by Dominic Bauer