Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Filter admin endpoint to list users with locked status #16323

Closed
hanadi92 opened this issue Sep 15, 2023 · 0 comments · Fixed by #16328
Closed

Filter admin endpoint to list users with locked status #16323

hanadi92 opened this issue Sep 15, 2023 · 0 comments · Fixed by #16328
Labels
A-Admin-API O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Blocks non-critical functionality, workarounds exist. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@hanadi92
Copy link
Contributor

Description:

As the current behavior of the list users admin endpoint /_synapse/admin/v2/users?query_param=value allows the requester to filter the returned users list with some user properties like ?deactivated=boolean to indicate whether to include deactivated users or not. It would be great to include the newly introduced user property locked as a filter to the list with ?locked=boolean.

Expected behavior: when locked=true include locked users to the returned list, and vice versa.

@clokep clokep added A-Admin-API S-Minor Blocks non-critical functionality, workarounds exist. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. O-Uncommon Most users are unlikely to come across this or unexpected workflow labels Sep 15, 2023
@clokep clokep linked a pull request Sep 15, 2023 that will close this issue
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Admin-API O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Blocks non-critical functionality, workarounds exist. T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants