Add accounts.visibility setting to ServerInfo

This information may be used to answer support requests about why an
account is not found by the reviewer suggestion.

Change-Id: I0e88e05ca218dcd52028743c352ae6e4d6945ded
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2017-08-30 16:17:17 +02:00
parent 7c1664158b
commit f0dacbd1d0
13 changed files with 67 additions and 5 deletions

View File

@@ -52,6 +52,9 @@ As result a link:#server-info[ServerInfo] entity is returned.
)]}'
{
"accounts": {
"visibility": "ALL"
},
"auth": {
"auth_type": "LDAP",
"use_contributor_agreements": true,
@@ -1331,6 +1334,19 @@ The `AccessCheckInput` entity is a tuple of (account, project) or
|`ref`|optional|The refname for which to check access
|=========================================
[[accounts-config-info]]
=== AccountsConfigInfo
The `AccountsConfigInfo` entity contains information about Gerrit
configuration from the link:config-gerrit.html#accounts[accounts]
section.
[options="header",cols="1,6"]
|=============================
|Field Name |Description
|`visibility` |
link:config-gerrit.html#accounts.visibility[Visibility setting for
accounts].
|=============================
[[auth-info]]
=== AuthInfo
@@ -1753,6 +1769,10 @@ the Gerrit server.
[options="header",cols="1,^1,5"]
|=======================================
|Field Name ||Description
|`accounts` ||
Information about the configuration from the
link:config-gerrit.html#accounts[accounts] section as
link:#accounts-config-info[AccountsConfigInfo] entity.
|`auth` ||
Information about the authentication configuration as
link:#auth-info[AuthInfo] entity.