GitHub user dosubot[bot] added a comment to the discussion: Multi-Tenant User 
management

<!-- Answer -->
The roles dropdown in the add/edit user modal is populated using the 
/api/v1/security/roles/ endpoint, not /api/v1/security/roles/search/. The 
frontend fetches roles from /api/v1/security/roles/ and passes them to the 
modal for display—there’s no usage of /search/ for this purpose in the UI code. 
Both endpoints share backend logic and return similar data, but 
/api/v1/security/roles/ is the standard and stable API path used for dropdown 
population in Superset’s user management UI.  
[Source: UsersList 
component](https://github.com/apache/superset/blob/308007f909b5a3c1cdd6fc5632ef27ca7eb97ce0/superset-frontend/src/pages/UsersList/index.tsx)


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/e2599d67-041c-4f91-a704-74879cedf16e?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/e2599d67-041c-4f91-a704-74879cedf16e?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/e2599d67-041c-4f91-a704-74879cedf16e?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/e2599d67-041c-4f91-a704-74879cedf16e?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/e2599d67-041c-4f91-a704-74879cedf16e?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/e2599d67-041c-4f91-a704-74879cedf16e?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/e2599d67-041c-4f91-a704-74879cedf16e?feedback_type=other)</sup>&nbsp;&nbsp;[![Join
 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Sh
 are on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/33877)

GitHub link: 
https://github.com/apache/superset/discussions/33877#discussioncomment-13635986

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to