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.
Steps to reproduce
- Navigate to a subgroup's settings
- Go to GitLab Duo features settings
- Set GitLab Duo availability to "Always off"
- 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
