Vote #73864
完了REST API should return user.status
0%
説明
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.
journals
As discussed on IRC, nice addition. Added in r11790, it will be in version:2.4.0.
I didn't add the status for @User.current@ : if he can make the request, his status is probably "active" ;)
Thanks
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------