c5eb00387b
If auth.gitBasicAuth is set to true in the gerrit.config file all HTTP traffic is authenticated using standard BasicAuth and the credentials are validated using the same auth method as configured for the Gerrit Web UI. E.g. for LDAP this means that users must use their LDAP password for Git over HTTP and for accessing the REST API. Service users are technical users that were created by the create-account SSH command. These users only exist in Gerrit and hence they do not have any LDAP password. This is why at the moment service users are not able to make use of the REST API if auth.gitBasicAuth is set to true. With this change users that exist only in Gerrit but not in LDAP are authenticated with their HTTP password from the Gerrit database if auth.gitBasicAuth is set to true. Change-Id: I030c8810807ba678c148f7785a64cc5ff25308b8 Signed-off-by: Edwin Kempin <edwin.kempin@sap.com> |
||
---|---|---|
.. | ||
src | ||
BUCK |