Allow self-managed to use Duo Chat outside of project/group scope
What does this MR do and why?
- Allow self-managed to set default namespace
- Provide error messages
References
Screenshots or screen recordings
How to set up and validate locally
- in gdk.yml set
GITLAB_SIMULATE_SAAS: '0' - ensure the user belongs to at least 2 Duo add-on namespaces
- go the user preference page and observe default namespace selector being available but don't set anything yet.
- If it has nothing selected, observe the Duo Chat being unavailable (and linking to the user preference page).
- now set a default namespace
- observe Duo Chat being available now
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 #579948
Edited by Mark Chao