Allow disabling GPG key editing while leaving signed push enabled
Administrators may choose to populate GPG keys by hand, or to temporarily restrict adding new keys, without disabling signed push verification or verification of push certs stored in PatchSets. Separate the UI and REST API for editing GPG keys from the protocol machinery for verifying signed push. Change-Id: I2c921cf92a3452d44ee8cb02efd77ab7f2bd02dd
This commit is contained in:
@@ -37,6 +37,7 @@ public class GerritInfo extends JavaScriptObject {
|
||||
public final native String allProjects() /*-{ return this.all_projects; }-*/;
|
||||
public final native String allUsers() /*-{ return this.all_users; }-*/;
|
||||
public final native String docUrl() /*-{ return this.doc_url; }-*/;
|
||||
public final native boolean editGpgKeys() /*-{ return this.edit_gpg_keys || false; }-*/;
|
||||
public final native String reportBugUrl() /*-{ return this.report_bug_url; }-*/;
|
||||
public final native String reportBugText() /*-{ return this.report_bug_text; }-*/;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user