Adds support disabling duo agent platform at namespace
What does this MR do and why?
Adds support disabling duo agent platform at namespace
Allows top level namespace admins to disable duo agentic features (catalog, chat, flows) without disabling classic duo features.
Changelog: added EE: true
How to set up and validate locally
-
Setup duo test
-
Update the setting using a query:
curl 'http://gdk.test:8080/api/v4/groups/1000000' \
-X 'PUT' \
-H "Authorization: Bearer $GITLAB_TOKEN" \
-H 'Content-Type: application/json' \
--data-raw '{ "ai_settings_attributes": { "duo_agent_platform_enabled": false } }'
- Check the value in
gdk rails c
Group.find_by_id(1000000).duo_agent_platform_enabled
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.