Skip to content

Ban AI Duo Availability Form and Admin Changes

Lindsey Shelton requested to merge ban-ai-duo-availability-form-admin into master

What does this MR do and why?

This MR covers the following Issues:

The purpose of this MR is to introduce the new section Duo Availability in both Admin and Group Settings. This will be an update of the existing Cascading checkboxes/Experimental checkbox in Permission and group settings in Groups and the checkboxes that exist in Admin Settings.

Please note, this feature will evolve again in the future. All documentation relating to this Issue will be in this MR.

MR acceptance checklist

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

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Screenshot_2024-08-04_at_10.15.33_PM Screenshot_2024-08-04_at_10.20.28_PM

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

Admin Settings - Duo Availability 0. Log into your GDK/Local Instance (Make sure you are in Standalone Mode or .com)

  • It is assumed that the 'GitLab Duo preview features' checkbox is selected
  1. Test 'On by default'
  • Go to Admin Settings: Admin > Settings > General > GitLab Duo.
  • Under 'Availability' select 'On by default'.
  • Select 'Save changes'
  • Go to subgroup level Group Settings: Group > Settings > General > GitLab Duo > Availability.
  • Validate 'On by default.' is checked
  1. Test 'Off by default'
  • Go to Admin Settings: Admin > Settings > General > GitLab Duo.
  • Under 'Availability' select 'Off by default'.
  • Validate warning message appears.
  • Select 'Save changes'
  • Validate warning message is gone.
  1. Test 'Never on'
  • Go to Admin Settings: Admin > Settings > General > GitLab Duo.
  • Under 'Availability' select 'Never on'.
  • Validate warning message appears.
  • Select 'Save changes'
  • Validate warning message is gone.

Merge request reports

Loading