Add administrative API call to block users
Created by: rborkows
Currently Administrators only have the ability to DELETE users via API. It would be desirable to block users via API so that if they return to a project their history is not deleted.
The use case for this is central user management via AD or LDAP. Currently gitlab does not fully disable users when they are disabled in AD (They are still able to use git since ssh keys are not removed from git's authorized_keys). Therefore we'd have a script that polls AD periodically looking for disabled users, and block gitlab users appropriately.