From 2828d81c75068bec023ec8dc006e7500c659208c Mon Sep 17 00:00:00 2001 From: Antoine Vigneau Date: Tue, 23 Jan 2024 17:23:18 +0100 Subject: [PATCH] NOJIRA Cleanup setting definition mock from GitLab properties --- .../main/js/helpers/mocks/definitions-list.ts | 88 ------------------- 1 file changed, 88 deletions(-) diff --git a/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts b/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts index 4fbcf58d117..a775e188b79 100644 --- a/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts +++ b/server/sonar-web/src/main/js/helpers/mocks/definitions-list.ts @@ -52,18 +52,6 @@ export const definitions: ExtendedSettingDefinition[] = [ options: [], fields: [], }, - { - key: 'sonar.auth.gitlab.enabled', - name: 'Enabled', - description: - 'Enable Gitlab users to login. Value is ignored if URL, Application ID, and Secret are not set.', - type: SettingType.BOOLEAN, - category: 'authentication', - subCategory: 'gitlab', - defaultValue: 'false', - options: [], - fields: [], - }, { key: 'sonar.auth.saml.enabled', name: 'Enabled', @@ -119,16 +107,6 @@ export const definitions: ExtendedSettingDefinition[] = [ options: [], fields: [], }, - { - key: 'sonar.auth.gitlab.url', - name: 'GitLab URL', - description: 'URL to access GitLab.', - category: 'authentication', - subCategory: 'gitlab', - defaultValue: 'https://gitlab.com', - options: [], - fields: [], - }, { key: 'sonar.auth.bitbucket.clientId.secured', name: 'OAuth consumer key', @@ -138,15 +116,6 @@ export const definitions: ExtendedSettingDefinition[] = [ options: [], fields: [], }, - { - key: 'sonar.auth.gitlab.applicationId.secured', - name: 'Application ID', - description: 'Application ID provided by GitLab when registering the application.', - category: 'authentication', - subCategory: 'gitlab', - options: [], - fields: [], - }, { key: 'sonar.auth.github.appId', name: 'App ID', @@ -232,50 +201,6 @@ export const definitions: ExtendedSettingDefinition[] = [ options: [], fields: [], }, - { - key: 'sonar.auth.gitlab.secret.secured', - name: 'Secret', - description: 'Secret provided by GitLab when registering the application.', - type: SettingType.PASSWORD, - category: 'authentication', - subCategory: 'gitlab', - options: [], - fields: [], - }, - { - key: 'sonar.auth.gitlab.allowUsersToSignUp', - name: 'Allow users to sign up', - description: - 'Allow new users to authenticate. When set to disabled, only existing users will be able to authenticate to the server.', - type: SettingType.BOOLEAN, - category: 'authentication', - subCategory: 'gitlab', - defaultValue: 'true', - options: [], - fields: [], - }, - { - key: 'provisioning.gitlab.token.secured', - name: 'Provisioning token', - description: - 'Token used for user provisioning. You can either use a group or a personal access token, as long as it has visibility on the groups that need to be imported.', - type: SettingType.PASSWORD, - category: 'authentication', - subCategory: 'gitlab', - options: [], - fields: [], - }, - { - key: 'provisioning.gitlab.groups', - name: 'Groups', - description: - 'Only members of these groups (and sub-groups) will be able to authenticate to the server.', - category: 'authentication', - subCategory: 'gitlab', - multiValues: true, - options: [], - fields: [], - }, { key: 'sonar.auth.saml.loginUrl', name: 'SAML login url', @@ -319,19 +244,6 @@ export const definitions: ExtendedSettingDefinition[] = [ options: [], fields: [], }, - { - key: 'sonar.auth.gitlab.groupsSync', - name: 'Synchronize user groups', - description: - 'For each GitLab group they belong to, the user will be associated to a group with the same name (if it exists) in SonarQube. If enabled, the GitLab OAuth 2 application will need to provide the api scope.', - type: SettingType.BOOLEAN, - category: 'authentication', - subCategory: 'gitlab', - defaultValue: 'false', - options: [], - fields: [], - deprecatedKey: 'sonar.auth.gitlab.sync_user_groups', - }, { key: 'sonar.auth.saml.user.login', name: 'SAML user login attribute', -- 2.39.5