Automatically verify CLAs when the admin requests them
In Android's use of Gerrit 1 individual CLAs are automatically marked as verified by the system if the contact information has been filled out by the end-user. This was done to avoid the rush of accounts as the site opened for first use. Corporations installing Gerrit 2 within their own firewall and with their own SSO system might want to allow users to be covered by a CLA automatically; permitting them to be auto-verified can simplify that setup task. Signed-off-by: Shawn O. Pearce <sop@google.com>
This commit is contained in:
@@ -60,6 +60,10 @@ public final class ContributorAgreement {
|
||||
@Column
|
||||
protected boolean requireContactInformation;
|
||||
|
||||
/** Does this agreement automatically verify new accounts? */
|
||||
@Column
|
||||
protected boolean autoVerify;
|
||||
|
||||
/** A short name for the agreement. */
|
||||
@Column(length = 40)
|
||||
protected String shortName;
|
||||
@@ -107,6 +111,14 @@ public final class ContributorAgreement {
|
||||
groupAgreement = g;
|
||||
}
|
||||
|
||||
public boolean isAutoVerify() {
|
||||
return autoVerify;
|
||||
}
|
||||
|
||||
public void setAutoVerify(final boolean g) {
|
||||
autoVerify = g;
|
||||
}
|
||||
|
||||
public boolean isRequireContactInformation() {
|
||||
return requireContactInformation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user