[Frontend] Role-based permissions for Issue to Merge Request Flow

Summary

Integrate frontend permission checks for the "Generate MR with Duo" flow based on minimum_access_level_execute_asynchronously permission.

Background

Issue to Merge Request Flow is a foundational background flow that requires Developer+ role. Users should only see the "Generate MR with Duo" button in issues if they have the appropriate execute permission.

Requirements

  • Hide/disable "Generate MR with Duo" button when user lacks permission
  • Check permission in issue detail view
  • Show appropriate message when permission is denied
  • Ensure UI updates reflect permission state

Locations

  • Plan > Issues > Issue detail page > "Generate MR with Duo" button (below issue header)

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 🤖