Add warning when enabling agents/flows

What does this MR do and why?

Add type-specific warnings around permissions.

References

UX issue: https://gitlab.com/gitlab-org/gitlab/-/work_items/583354

Screenshots or screen recordings

Custom agent (does not use service account) External agent (uses service account) Custom flow (uses service account)
Project

Custom agent project.png

External agent project.png

Custom flow project.png

Group

⚠️ Pending copy ⚠️

Custom agent group.png

⚠️ Pending copy ⚠️

External agent group.png

⚠️ Pending copy ⚠️

Custom flow group.png

How to set up and validate locally

MR acceptance checklist

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

Edited by Justin Ho Tuan Duong

Merge request reports

Loading