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

Forbid updating built-in quality gates

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0
    • Component/s: Quality Gate, Web API
    • Labels:

      Description

      Web Services

      • The following web services should fail when trying to update built-in quality gates :
        • api/qualitygates/create_condition
        • api/qualitygates/delete_condition
        • api/qualitygates/destroy
        • api/qualitygates/rename
        • api/qualitygates/update_condition
      • The following web services must return the list of availables actions :
        • api/qualitygates/list
        • api/qualitygates/show

      On a quality gate, list of available actions are :

      "actions": {
              "rename": false,
              "delete": false,
              "associateProjects": false,
              "manageConditions": false,
              "setAsDefault": false,
              "copy": false
            }
      

      On root level, list of available actions are :

      "actions": {
              "create": false
            }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: