Support to get/set/delete/generate an HTTP password via REST
The HTTP password of a user can now be retrieved by GET on
/accounts/<account-id>/password.http.
By PUT on /accounts/<account-id>/password.http a new HTTP password can
be generated or set. Directly setting an HTTP password is only allowed
for Gerrit administrators.
By DELETE on /accounts/<account-id>/password.http the HTTP password can
be cleared.
The WebUI is adapted to use the new REST endpoints to generate/clear
the HTTP password. The old RPCs for this are deleted.
Change-Id: I1424f1d4b45e5409095b51f05c9c6afe26e66800
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
11 files changed