Add link to branch rules from branches page
What does this MR do and why?
Adds possibility to navigate to a branch rules sections of repository settings from a branches page
Screenshots or screen recordings
Before or as developer | After as maintainer |
---|---|
How to set up and validate locally
- Enable branch rules FF echo "Feature.enable(:branch_rules)" | gdk rails c
- Navigate as a maintainer to Project > Branches
- Observe
View brach rules
button and alert - Try to dismiss alert and make sure it won't appear on new page load
- Make sure that with the developer access you don't have this options
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 #358209