-
- Downloads
Include the `is_admin` field in the `GET /users/:id` API when current user is an admin
Signed-off-by:
Rémy Coutable <remy@rymai.me>
Showing
- changelogs/unreleased/36213-return-is_admin-in-users-api-when-current_user-is-admin.yml 6 additions, 0 deletions...turn-is_admin-in-users-api-when-current_user-is-admin.yml
- lib/api/users.rb 4 additions, 9 deletionslib/api/users.rb
- spec/requests/api/users_spec.rb 10 additions, 0 deletionsspec/requests/api/users_spec.rb
Please register or sign in to comment