Patch #13948
REST API should return user.status
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Low | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | REST API | |||
Target version: | 2.4.0 |
Description
Currently, the REST API /users [1] does not return the status of the requested user.
As I needed this information, I made a tiny modification to show.api.rsb
.
Find attached a patch which returns the user.status to the caller, iff the caller is either an admin user or the user who is being returned.
Associated revisions
Add status to /users/:id API for admins (#13948).
Patch by Kambiz Darabi
History
#1
Updated by Jean-Baptiste Barth almost 10 years ago
- Status changed from New to Resolved
- Assignee set to Jean-Baptiste Barth
- Target version set to 2.4.0
#2
Updated by Jean-Philippe Lang over 9 years ago
- Status changed from Resolved to Closed