Fix approval visible groups detection
What does this MR do and why?
- Contributes to #366741 (closed)
- Original MR: !91598 (merged)
Enable feature flag subgroups_approval_rules
by default.
Problem
User has access to Group A Group B is a subgroup of the Group A Group B is a approval group
User with inherited permissions from Group A cannot see approvers from approval Group B.
Solution
Apply subgroup permissions for approval rules check.
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.