gitlabhq/gitlabhq — pull request #5213 by bladealslayer (2013-09-29 08:50:47+00:00)
Title: 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).