Skip to content

Web UI for setting default namespace of Duo Agentic Platform

What does this MR do and why?

  • Update the Duo default namespace selection UI to provide namespaces instead of assignment ids. Allow controller to also accept namespace id as param.
  • Include Duo Core namespaces as part of the options
  • Refactor view logic to use method delegation (from User model) instead of relying on nested attribute assignment. This aligns with all other user preferences implementations.

References

Screenshots or screen recordings

Demo: https://youtu.be/lydAl0NODzU

How to set up and validate locally

  1. Under SaaS mode
  2. User master branch first
  3. Visit GDK user preference page: http://gdk.test:3000/-/profile/preferences#user_duo_default_namespace_id
  4. Pick a default namespace and save.
  5. Check out 557584-web-ui branch
  6. Verify your previous selection still is selected (this is the automatic fallback we have implemented).
  7. Update the value to some other namespace and see it persisted. (You might need to set up another Duo Core namespace for this)

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.

Related to #557584

Edited by Mark Chao

Merge request reports

Loading