Add check for user access level

What does this MR do and why?

Add check for user access level before showing link to branch rules

Screenshots or screen recordings

Developer Maintainer
Screenshot_2023-04-10_at_16.45.57 Screenshot_2023-04-10_at_16.44.53

How to set up and validate locally

  1. Go to a project with codeowners
  2. View any file with codeowners assigned as a developer and as an owner/maintainer.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #390137 (closed)

Edited by Nataliia Radina

Merge request reports

Loading