[Ban AI] Documentation reflects new UI to turn off AI in certain places

Context

Full context in the parent epic and final designs and UI copy in Figma.

Scope of this issue

In 17.1 groupai framework will be working on new UI that allows admins to choose how AI is available on an instance, group, and project level. The documentation should represent the new UI and functionality.

📹 6 min video explaining this feature (recorded 2024-05-27)

Notable changes:

  • Beta and Experiment setting for AI features at the instance level
  • The ability to turn on or off AI features by default at the instance and group level
  • The ability to ban AI at the instance and group level
  • The ability to turn on or off AI at the project level
  • Setting controls all AI features (Duo Pro and "free" AI features)

Logic detailed in design management

Updated Documentation

Project Settings

Status: Merged under feature flag ai_settings_vue_project | Completed Issue #460837 (closed) | Related MR: 157207

Under Turn off for a project, the instructions are modified as:

(Remove Steps 1 & 2)

  • [Add] 1. On the left sidebar, select Search or go to and find your project.
  • [Add] 2. Select Settings > General.
  • [Add] 3. Expand Visibility, project features, permissions.
  • [Add] 4. Under GitLab Duo turn the toggle on.
  • [Add] 6. Select Save changes.

Group Settings

Status: In Development 🚧 under feature flag ai_settings_vue_group | Completed Issues #470519 (closed), #460698 (closed), #460700 (closed) | In Progress Issues: #460835 (closed), #460836 (closed) | Related MR(s): 158272

Under Turn off for a group, the instructions are modified as:

  • [Updated] 3. Expand GitLab Duo features
  • [Updated] 4. Click the Off by default radio button. A warning message will display before saving changes.
  • [Modify Step 5] 5. To disable and cascade the setting to all subgroups, Click the Never on radio button. A warning message will display before saving changes.
  • [Add] 6. Select Save changes.

Admin/Instance Settings

Status: In Development 🚧 under feature flag ai_settings_vue_admin | Completed Issues #470519 (closed), #460698 (closed), #460700 (closed) | In Progress Issues: #460835 (closed) | Related MR(s): 158272

Under [Turn off for an instance](Under Turn off for a group, the instructions are modified as:

  • [Updated] 3. Expand GitLab Duo features
  • [Updated] 4. Click the Off by default radio button. A warning message will display before saving changes.
  • [Modify Step 5] 5. To disable and cascade the setting to all groups in the instance, click the Never on radio button. A warning message will display before saving changes.
  • [Add] 6. Select Save changes.

Beta & Experiment Settings

Status: In Development 🚧 under feature flag ai_settings_vue_group or ai_settings_vue_admin | In Progress Issue: #460701 (closed)

Under [Turn on beta and experimental features](Under Turn off for a group, the instructions are modified as:), the instructions are modified as:

  • [Updated] 3. Expand GitLab Duo features
  • [Updated] 4. Under GitLab Duo preview features, select the Turn on experiment and beta features radio button.

TODO: Update the Following

Update the following Markdown Files

Edited by Lindsey Shelton