-
Notifications
You must be signed in to change notification settings - Fork 690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add /users
endpoint to API
#5490
Comments
/users
endpoint to API/journalists
endpoint to API
Just want to make a note of what bug this would currently solve. Right now, we learn whether or not a user has been deleted through the |
/journalists
endpoint to API/users
endpoint to API
A few updates on this issue:
I've raised my hand for putting together a PR for this issue, and then we can reason a bit more about 1) any additional impact in the context of our threat model, 2) whether or not this should land in 1.6.0. |
Resolves #5490 Includes the following tests: - Test that endpoint exists - Test that endpoint requires authorization - Test that endpoint enumerates all users - Test that endpoint returns only expected fields
In order to reliably update local user databases (see, for example, freedomofpress/securedrop-client#1143), it would be useful for the API to expose a
/users
endpoint.Currently, non-admin users do not have the ability to see a list of all users via the Journalist Interface , so we may only want to return the UUID for each user (and potentially a property like
is_deleted
oris_locked
if/when such functionality is implemented, cf. #5467).The text was updated successfully, but these errors were encountered: