Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9303

Built-in quality profiles are read only

    Details

      Description

      Make a built-in quality profile non updatable by an end user. These profiles can't be deleted, nor altered, nor restored.

      Web Services

      Any attempt to do so by calling any of the following web services should cause an HTTP error 400 :

      • api/qualityprofiles/activate_rule
      • api/qualityprofiles/activate_rules
      • api/qualityprofiles/change_parent
      • api/qualityprofiles/deactivate_rule
      • api/qualityprofiles/deactivate_rules
      • api/qualityprofiles/delete
      • api/qualityprofiles/rename
      • api/qualityprofiles/restore
      • api/profiles/restore

      The web service api/qualityprofiles/restore_built_in must be deprecated and throw always 410 with a clear message.

      Web Application

      Actions to delete, rename or restore built-in profiles should be removed from webapp.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                fabrice.bellingard Fabrice Bellingard
                Reporter:
                teryk.bellahsene Teryk Bellahsene (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: