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

It should be possible to associate projects to built-in quality profiles, when not set as default

    XMLWordPrintable

    Details

      Description

      Contact

      The Change Projects action should be disabled only for Default Quality Profiles. A built in that is not default should have that action.

      Technical details

      This ticket is a opportunity to also deal with the "delete" action : it should only be available when the quality profile is not default (this was not on UI side, but not in WS).
      api/qualityprofiles/search now returns :

      {
        "profiles": [
          {
            "key": "AU-TpxcA-iU5OvuD2FL3",
            "actions": {
              "edit": true,
              "setAsDefault": false,
              "copy": false,
              "delete": false,
              "associateProjects": true
            }
          }
        ],
        "actions": {
          "create": false
        }
      }
      

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            gregoire.aubert Gregoire Aubert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: