Expose the GENERATE_HTTP_PASSWORD capability permssion.
Gerrit has a GENERATE_HTTP_PASSWORD capability but it is not exposed as a permission in the Gerrit Access UI. This change exposes the GENERATE_HTTP_PASSWORD capability and restricts REST API action for getting and generating the HTTP password. Bug: Issue 2790 Change-Id: Ie7cfeac9090462758438ebe6710dffae4368ccd4
This commit is contained in:
committed by
David Pursehouse
parent
5060305a89
commit
e715d2484a
@@ -106,6 +106,7 @@ public class GlobalCapability {
|
||||
NAMES_ALL.add(CREATE_PROJECT);
|
||||
NAMES_ALL.add(EMAIL_REVIEWERS);
|
||||
NAMES_ALL.add(FLUSH_CACHES);
|
||||
NAMES_ALL.add(GENERATE_HTTP_PASSWORD);
|
||||
NAMES_ALL.add(KILL_TASK);
|
||||
NAMES_ALL.add(PRIORITY);
|
||||
NAMES_ALL.add(QUERY_LIMIT);
|
||||
|
||||
Reference in New Issue
Block a user