GitHub user dosubot[bot] added a comment to the discussion: all user of a
specific role
<!-- Answer -->
The `/api/v1/security/roles/search/` endpoint is available in Apache Superset
version 4.0.2, even though it might not be visible in Swagger. The endpoint is
defined in the `RoleRestAPI` class in the `superset/security/api.py` file with
the `@expose("/search/", methods=["GET"])` decorator, indicating that it is
accessible via a GET request
<sup>[[1]](https://github.com/apache/superset/blob/master/superset/security/api.py)</sup>.
Discrepancies between the code and Swagger documentation can occur if the
`openapi.json` file is not updated to reflect changes in the API code
<sup>[[2]](https://github.com/apache/superset/blob/master/docs/docs/api.mdx)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
---
<sup>Help Dosu learn! Give it feedback: [Great
Response](https://app.dosu.dev/response-feedback/8888101d-4c64-4e73-b43b-2ef4d42b309c?feedback_type=great_response)
| [Irrelevant
Answer](https://app.dosu.dev/response-feedback/8888101d-4c64-4e73-b43b-2ef4d42b309c?feedback_type=irrelevant_answer)
| [Incorrect
Sources](https://app.dosu.dev/response-feedback/8888101d-4c64-4e73-b43b-2ef4d42b309c?feedback_type=incorrect_sources)
| [Too
Verbose](https://app.dosu.dev/response-feedback/8888101d-4c64-4e73-b43b-2ef4d42b309c?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/8888101d-4c64-4e73-b43b-2ef4d42b309c?feedback_type=hallucination)
| [Bug
Report](https://app.dosu.dev/response-feedback/8888101d-4c64-4e73-b43b-2ef4d42b309c?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/8888101d-4c64-4e73-b43b-2ef4d42b309c?feedback_type=other)</sup>
GitHub link:
https://github.com/apache/superset/discussions/33227#discussioncomment-12934449
----
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]