[Frontend] Role-based permissions for Software Development Flow (IDE)
Summary
Integrate frontend permission checks for Software Development Flow in IDEs based on minimum_access_level_execute permission.
Background
Software Development Flow is a foundational foreground flow accessible in VS Code, JetBrains, and Visual Studio. Users should only access the Flows tab if they have the appropriate execute permission (Guest+ by default).
Requirements
-
Hide/disable Flows tab when user lacks permission -
Check permission in GitLab Duo Agent Platform panel -
Show appropriate message when permission is denied -
Ensure UI updates reflect permission state across all IDE extensions
Locations
IDEs:
- VS Code: GitLab Duo Agent Platform (Beta) > Flows tab
- JetBrains: GitLab Duo Agent Platform (Beta) > Flows tab
- Visual Studio: GitLab Duo Agent Platform (Beta) > Flows tab
Acceptance Criteria
-
Flows tab hidden/disabled for users without Guest+ role or custom permission -
Permission check respects instance and namespace-level settings -
Clear messaging when access is denied -
Works consistently across VS Code, JetBrains, and Visual Studio
Related
Edited by 🤖 GitLab Bot 🤖