|
|
@@ -44,6 +44,7 @@ public class CorePropertyDefinitions { |
|
|
|
|
|
|
|
private static final String CATEGORY_ORGANIZATIONS = "organizations"; |
|
|
|
public static final String ORGANIZATIONS_ANYONE_CAN_CREATE = "sonar.organizations.anyoneCanCreate"; |
|
|
|
public static final String ORGANIZATIONS_CREATE_PERSONAL_ORG = "sonar.organizations.createPersonalOrg"; |
|
|
|
|
|
|
|
private CorePropertyDefinitions() { |
|
|
|
// only static stuff |
|
|
@@ -252,6 +253,13 @@ public class CorePropertyDefinitions { |
|
|
|
.defaultValue(Boolean.toString(false)) |
|
|
|
.category(CATEGORY_ORGANIZATIONS) |
|
|
|
.type(PropertyType.BOOLEAN) |
|
|
|
.build(), |
|
|
|
PropertyDefinition.builder(ORGANIZATIONS_CREATE_PERSONAL_ORG) |
|
|
|
.name("Create an organization for each new user") |
|
|
|
.defaultValue(Boolean.toString(false)) |
|
|
|
.category(CATEGORY_ORGANIZATIONS) |
|
|
|
.type(PropertyType.BOOLEAN) |
|
|
|
.hidden() |
|
|
|
.build())); |
|
|
|
return defs; |
|
|
|
} |