Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was 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

Description

@hanadi92

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Admin-APIO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.T-EnhancementNew features, changes in functionality, improvements in performance, or user-facing enhancements.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions