Initial commit

This plugin allows to create service users in Gerrit.

A service user is a user that is used by another service to
communicate with Gerrit. E.g. a service user is needed to run the
Gerrit Trigger Plugin in Jenkins. A service user is not able to login
into the Gerrit WebUI and it cannot push commits and tags.

This plugin supports to create service users via SSH, REST and in the
WebUI.

To be able to create a service user a user must be a member of a group
that is granted the 'Create Service User' capability (provided by this
plugin) or the 'Administrate Server' capability.

On creation new service users can be automatically added to groups
that are configured in the plugin. This allows to automatically assign
or block certain access rights for the service users.

At the moment the creator cannot directly add a new service user on
creation to groups as it is possible with the '--group' parameters of
the 'create-account' SSH command. This could be added later.

Change-Id: Ib0106574f7d8f22b50c81364e3437ad3716ba879
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
25 files changed
tree: b99d571aa33d4bf89faada8eae6ecb5caae14083
  1. .settings/
  2. src/
  3. .gitignore
  4. LICENSE
  5. pom.xml