Disable repository blob actions when user doesn't have required permissions

What does this MR do and why?

Disabling the repository blob actions like Edit single file, Open in Web IDE, Edit in pipeline editor, Replace and Delete when user has permission to do such actions.

References

#582030

Screenshots or screen recordings

Before After

WITH PLANNER ROLE

Screen Recording 2025-12-02 at 12.00.34.mov

WITH PLANNER ROLE

Screen Recording 2025-12-04 at 19.34.28.mov

How to set up and validate locally

  1. Checkout the branch
  2. Run gdk locally
  3. Create new user, give new user planner role on private project
  4. Try opening any file in that project from new user account
  5. Notice the blob actions like Edit single file, Open in Web IDE, Edit in pipeline editor, Replace and Delete actions are disabled and tooltip is shown to indicate the user has no permission to modify the file.
Edited by Rinku C

Merge request reports

Loading