From 82a14b1821cb71d1e51dd493cef9dae586bed24c Mon Sep 17 00:00:00 2001 From: Sébastien Lesaint Date: Thu, 29 Sep 2016 10:46:08 +0200 Subject: SONAR-8151 add property sonar.organizations.anyoneCanCreate --- .../org/sonar/core/config/CorePropertyDefinitions.java | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'sonar-core') diff --git a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java index 982466b9d5c..a91cbb8b361 100644 --- a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java +++ b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java @@ -47,6 +47,10 @@ public class CorePropertyDefinitions { private static final String TIMEMACHINE_DEFAULT_PERIOD_4 = ""; private static final String TIMEMACHINE_DEFAULT_PERIOD_5 = ""; + private static final String CATEGORY_ORGANIZATIONS = "organizations"; + private static final String ORGANIZATIONS_ANYONE_CAN_CREATE = "sonar.organizations.anyoneCanCreate"; + private static final boolean ORGANIZATIONS_ANYONE_CAN_CREATE_DEFAULT_VALUE = false; + private CorePropertyDefinitions() { // only static stuff } @@ -204,8 +208,7 @@ public class CorePropertyDefinitions { .type(PropertyType.USER_LOGIN) .build(), - // BATCH - + // SCANNER PropertyDefinition.builder(TIMEMACHINE_PERIOD_PREFIX + 1) .name("Leak Period") .description("Period used to compare measures and track new issues. Values are :