]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-15532 Document delegating Quality Gate permissions to users or groups
authormichaelbirnstiehl <michael.birnstiehl@sonarsource.com>
Mon, 18 Oct 2021 19:36:34 +0000 (14:36 -0500)
committersonartech <sonartech@sonarsource.com>
Fri, 22 Oct 2021 20:03:28 +0000 (20:03 +0000)
server/sonar-docs/src/pages/instance-administration/quality-profiles.md
server/sonar-docs/src/pages/instance-administration/security.md
server/sonar-docs/src/pages/user-guide/quality-gates.md

index 0e78f8caab41372d3761aa7569fb89daad1b66dd..f30858b16efa6c498e5477a125bbad6baa37ab4e 100644 (file)
@@ -26,11 +26,9 @@ The **Sonar way** Quality Profiles are a good starting point as you begin analyz
 
 ## Quality Profile permissions
 
-By default, only users with the **Administer Quality Profiles** permission can edit Quality Profiles. This is set at **Administration > Security > Global Permissions**.
+By default, only users with the global **Administer Quality Profiles** permission can edit Quality Profiles. This is set at **Administration > Security > Global Permissions**.
 
-SonarQube also lets you to grant permission to users or groups for specific Quality Profiles, so you can delegate profile management to a group of experts for that language.  These users or groups only have permissions for that specific profile, not all Quality Profiles.
-
-A user with the **Administer Quality Profiles** permission or individual edit rights for a specific Quality Profile can grant permissions on Quality Profile pages (**Quality Profiles > [ Profile Name ]**) under the **Permissions** heading.
+SonarQube also allows users with the global **Administer Quality Profiles** permission to give an expert or group of experts permission to manage a specific Quality Profile. These experts only have permission for that Quality Profile, not all Quality Profiles. Grant permissions to specific Quality Profiles on the Quality Profile's page (**Quality Profiles > [Quality Profile name]**) under the **Permissions** heading by clicking the **Grant permissions to more users** button.
 
 ## Copying a Quality Profile
 Copying a profile works well when you need to make a few changes to a built-in profile. When you copy a profile, you start off with all of the activated rules from the profile you copied from. From here, you can activate or deactivate rules to fit your needs. After copying a profile, your new profile won't inherit any changes made to the original profile.
index dd1e4b5cd26784219147f15f5b50746327af0347..829ba21f1efa6205f9d4e8eb9665535d6d0e82bd 100644 (file)
@@ -129,8 +129,8 @@ Two groups have a special meaning:
 To set global permissions, log in as a System administrator and go to **[Administration > Security > Global Permissions](/#sonarqube-admin#/admin/permissions)**. 
 
 * **Administer System**: All administration functions for the instance: global configuration.
-* **Administer Quality Profiles**: Any action on Quality Profiles.
-* **Administer Quality Gates**: Any action on quality gates
+* **Administer Quality Profiles**: Any action on Quality Profiles, including delegating permissions to specific Quality Profiles.
+* **Administer Quality Gates**: Any action on Quality Gates, including delegating permissions to specific Quality Gates.
 * **Execute Analysis**:  Access to all settings required to perform analysis and the ability to push analysis results to the SonarQube server. This includes private project settings but excludes secured settings like passwords.
 * **Create Projects**: Initialize the structure of a new project before its first analysis. This permission is also required when doing the very first analysis of a project that has not already been created via the GUI. * **
 * **Create Applications**: Create a new Application. * **
index 25afc6a9972a7983ec4b41350f300654e77e455c..4c478eea092f48cf78906de2a2bdb39396a1cde7 100644 (file)
@@ -21,6 +21,11 @@ Ideally, all projects will use the same quality gate, but that's not always prac
 
 Which is why you can define as many quality gates as you need. You can access the **[Quality Gates](/#sonarqube#/quality_gates)** page from the top menu. From here you can define and manage your Quality Gates.
 
+## Quality Gate permissions
+By default, only users with the global **Administer Quality Gates** permission can edit Quality Gates. This is set at **Administration > Security > Global Permissions**.
+
+SonarQube also allows users with the global **Administer Quality Gates** permission to give an expert or group of experts permission to manage a specific Quality Gate. These experts only have permission for that Quality Gate, not all Quality Gates. Grant permissions to specific Quality Gate on the Quality Gate's page (**Quality Gates > [Quality Gate name]**) under the **Permissions** heading by clicking the **Grant permissions to more users** button.
+
 ## Use the best Quality Gate configuration
 
 The "Sonar way" Quality Gate is provided by SonarSource, activated by default, and considered as built-in and read-only. This Quality Gate represents the best way to implement the [Clean as You Code](/user-guide/clean-as-you-code/) concept by focusing on new code. With each SonarQube release, we automatically adjust this default quality gate according to SonarQube's capabilities.