The admin flag is already writeable via the api: https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/users.md#user-modification
This change just makes it readable as well.