Skip to content

Fix 403 error in external status endpoint for admin user

What does this MR do and why?

As per the documentation, Admin users should have access to everything in a GitLab instance. This did not happen for the MR status check endpoint.

This MR adds admin access for the external status endpoint.

Related to #478783 (closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-08-22_at_5.15.44_PM Screenshot_2024-08-22_at_3.16.53_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Create a project with a non-admin user
  2. Configure an MR status check
  3. Create an MR
  4. Visit the MR page using an admin user
  5. Check if the status check is visible

Screenshot_2024-08-22_at_3.16.53_PM

Merge request reports

Loading