-
- Downloads
Extended User API to expose admin and can_create_group for user creation/updating.
Also, is_admin and can_create_group are exposed in the user information. Fixed attributes_for_keys to process properly keys with boolean values (since false.present? is false).
parent
ff0e3097
No related branches found
No related tags found
This commit is part of merge request !4954. Comments created here will be created in the context of that merge request.
Showing
- doc/api/users.md 24 additions, 15 deletionsdoc/api/users.md
- lib/api/entities.rb 3 additions, 4 deletionslib/api/entities.rb
- lib/api/helpers.rb 1 addition, 1 deletionlib/api/helpers.rb
- lib/api/users.rb 11 additions, 3 deletionslib/api/users.rb
- spec/requests/api/users_spec.rb 27 additions, 1 deletionspec/requests/api/users_spec.rb
Please register or sign in to comment