gitlabhq/gitlabhq — pull request #4678 by bladealslayer (2013-07-31 10:59:38+00:00)
Title: Extended User API to expose admin, can_create_group and can_create_team ...

...for user creation/updating.

Also, is_admin, can_create_team 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).