Skip to content

UI Bug: Duplicate "Allow flow execution" checkbox when GitLab Duo is "Always off" at subgroup level

Summary

There is a UI bug in the GitLab Duo features settings where a second "Allow flow execution" checkbox appears when GitLab Duo availability is set to "Always off" at the subgroup level.

image.png

Steps to reproduce

  1. Navigate to a subgroup's settings
  2. Go to GitLab Duo features settings
  3. Set GitLab Duo availability to "Always off"
  4. Observe the "Allow flow execution" checkbox section

Current behavior

A duplicate "Allow flow execution" checkbox is displayed when GitLab Duo availability is set to "Always off" at the subgroup level.

Expected behavior

Only one "Allow flow execution" checkbox should be displayed, or it should be hidden/disabled appropriately when GitLab Duo is set to "Always off".

Possible causes

This issue may be related to recent work done by the GitLab Duo settings interface.

Impact

  • Confusing user interface
  • Potential for inconsistent state management
  • Poor user experience in GitLab Duo configuration

Additional context

This bug affects the Duo Agent Platform (DAP) settings interface and may impact users trying to configure flow execution permissions at the subgroup level.

Edited by Lukas Wanko