]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-19336 add warning in case organizations whitelist is not set
authorAurelien Poscia <aurelien.poscia@sonarsource.com>
Wed, 31 May 2023 10:22:08 +0000 (12:22 +0200)
committersonartech <sonartech@sonarsource.com>
Wed, 31 May 2023 20:02:50 +0000 (20:02 +0000)
server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubSettings.java
server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts

index b01b1116fbc8557eb56675677e3fa1f63b6e7c5b..cd1e30d010eb9618ec3f99205fbe3c0b997be877 100644 (file)
@@ -238,8 +238,8 @@ public class GitHubSettings {
         .build(),
       PropertyDefinition.builder(ORGANIZATIONS)
         .name("Organizations")
-        .description("Only members of these organizations will be able to authenticate to the server. " +
-          "If a user is a member of any of the organizations listed they will be authenticated.")
+        .description("Only members of these organizations will be able to authenticate to the server. "
+          + "⚠ if not set, users from any organization where the GitHub App is installed will be able to login to this SonarQube instance.")
         .multiValues(true)
         .category(CATEGORY)
         .subCategory(SUBCATEGORY)
index 54548bbbe2ffd63f5b1a3e3581bf98f3f8289d09..32e36b16e27e1225354434c0ea841473b3404208 100644 (file)
@@ -335,7 +335,7 @@ export const definitions: ExtendedSettingDefinition[] = [
     key: 'sonar.auth.github.organizations',
     name: 'Organizations',
     description:
-      'Only members of these organizations will be able to authenticate to the server. If a user is a member of any of the organizations listed they will be authenticated.',
+      'Only members of these organizations will be able to authenticate to the server. ⚠︎ if not set, users from any organization where the GitHub App is installed will be able to login to this SonarQube instance.',
     category: 'authentication',
     subCategory: 'github',
     multiValues: true,