Skip to content

Commit

Permalink
CLDR-16499 CLA: update docs, off by default
Browse files Browse the repository at this point in the history
  • Loading branch information
srl295 committed May 30, 2024
1 parent 6b29eec commit 2ea59c6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
import org.unicode.cldr.util.Organization;

public final class ClaSignature {
/** if TRUE, then CLAs are NOT required by default. */
/**
* If TRUE, then CLAs are NOT required by default unless the REQUIRE_CLA property is set. At
* present (CLDR-16499) this facility is not activated by default.
*/
public static final boolean DO_NOT_REQURE_CLA = true;

public static final String CLA_KEY = "SignedCla";
Expand All @@ -29,7 +32,10 @@ public boolean valid() {
return true;
}

/** Organizations which are known to have signed the CLA. */
/**
* Organizations which are known to have signed the CLA. Update this from
* https://www.unicode.org/policies/corporate-cla-list/
*/
public static final EnumSet<Organization> CLA_ORGS =
EnumSet.of(
Organization.adobe,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ public Response getUserInfo(
@APIResponse(responseCode = "423", description = "cannot modify org CLA")
})
@Path("/cla")
public Response signCla(
@HeaderParam(Auth.SESSION_HEADER) String session, ClaSignature cla) {
public Response signCla(@HeaderParam(Auth.SESSION_HEADER) String session, ClaSignature cla) {
final CookieSession mySession = Auth.getSession(session);
if (mySession == null || mySession.user == null) {
return Response.status(401).build();
Expand Down

0 comments on commit 2ea59c6

Please sign in to comment.