[Frontend] Role-based permissions for Fix CI/CD Pipeline Flow

Summary

Integrate frontend permission checks for the "Fix pipeline with Duo" flow based on minimum_access_level_execute_asynchronously permission.

Background

Fix CI/CD Pipeline Flow is a foundational background flow that requires Developer+ role. Users should only see the "Fix pipeline with Duo" button if they have the appropriate execute permission.

Requirements

  • Hide/disable "Fix pipeline with Duo" button when user lacks permission
  • Check permission in MR Overview tab, Pipelines tab, and Pipeline detail page
  • Show appropriate message when permission is denied
  • Ensure UI updates reflect permission state

Locations

  • Merge request Overview tab (under failing pipeline)
  • Merge request Pipelines tab (rightmost column, fix pipeline icon)
  • Build > Pipelines > Pipeline detail page (upper-right corner)

Acceptance Criteria

  • Button hidden/disabled for users without Developer+ role or custom permission
  • Permission check respects instance and namespace-level settings
  • Clear messaging when access is denied
Edited by 🤖 GitLab Bot 🤖