Skip to content
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

The /users-endpoint should return different information based on permissions of requesting entity #51

Open
zergar opened this issue Oct 2, 2019 · 1 comment
Assignees

Comments

@zergar
Copy link
Contributor

zergar commented Oct 2, 2019

Is your feature request related to a problem? Please describe.
For different applications like initiating money transfers it would be useful, if any logged-in user could fetch a list of usernames only consisting of username, display_name, and id.

Describe the solution you'd like
/users should return a different json-array representing an user only with their isername, display_name, and id, if the requesting entity is logged in and is not an administrator.

Describe alternatives you've considered

Additional context

@phiphi282
Copy link
Collaborator

There is an open pull request for authorization, this behavior should already be implemented there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants