Project level MR approval rules UI changes
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
This issue will reuse the Project-level MR approval rules component for Group level, with relevant UI changes needed.
- Ensure the frontend has the necessary data on the Project level (Project > Settings).
- UI changes: display lock/message if there are any Group level rules)
See this comment for additional context.
Frontend work
- Add a lock to the component added in #425181
- Add a tooltip with "Inherited setting" per proposal of @msedlakjakubowski in #425433[project_with_inherited_group_level_mr_approval_rules.png] (comment 1565347340)
Availability and Testing
Additional feature specs:
- Ensure that if group level approval rules are present, project level approval rules are locked/have a message (see #425181 for additional tests)
Regression testing, please ensure associated MR is labelled with pipeline:run-all-e2e and e2e:package-and-test
job is passing.
Edited by 🤖 GitLab Bot 🤖