Skip to content

[Ban AI] Duo Availability Form for groups and admin

Context

This is part of a larger epic that gives admins more control over where AI is allowed in their organization.

Scope of this issue

This issue add UI controls to the top-level on .com and self-managed.

On self-managed: admin>settings>general>GitLab Duo (This section was partially worked on in this MR, new GitLab Duo section described in this issue)

On .com: Top-level group: settings>general>GitLab Duo (New GitLab Duo section described in this issue)

Designs

Final designs and UI copy Figma

Image Description
CleanShot_2024-05-27_at_15.13.13 All settings options
CleanShot_2024-05-27_at_15.13.38 Selecting "off by default" shows a warning banner upon select
CleanShot_2024-05-27_at_15.14.10 Selecting "never on" shows a different warning banner upon select AND beta/experiment setting disappears
CleanShot_2024-05-27_at_15.18.59 User sees a confirmation upon save (easier to see in Figma)
CleanShot_2024-05-27_at_15.29.38 Can appear in disabled state if parent is set to never on
CleanShot_2024-05-27_at_15.31.23 Tooltip of locked setting, appears when user clicks on lock
Edited by Lindsey Shelton