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

Quality Profile with 0 rules can be used by a project

    XMLWordPrintable

    Details

    • Edition:
      Community
    • Production Notes:
      None

      Description

      Today a user can create a QP with 0 rules and use it on their projects. Which is wonderful because then everything is super green! We shouldn't allow users to enable such Quality Profiles on their project.

      When administering a Quality Profile, disable the project assignment and "Set as default" options as long as no rules are enabled, and explain to the user what steps they should take to use this Quality Profile.

      When administering a project, disable such Quality Profiles from the list of options, putting a small explanation as to why this profile isn't available.

      We will only apply this in the UI. The WS will remain working as before, to avoid changing the WS behavior.

        Attachments

        1. 13150.jpg
          13150.jpg
          326 kB
        2. 13150-2.jpg
          13150-2.jpg
          176 kB

          Activity

            People

            Assignee:
            wouter.admiraal Wouter Admiraal
            Reporter:
            laura.wacrenier Laura Wacrenier
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: