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

Allow to delete all projects by clicking on the Delete button

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6-M1, 6.6
    • Component/s: Web, Web API
    • Labels:

      Description

      On the Permission Templates page and on the Project Administration page, the "Delete" action should behave the same way as "Bulk Apply Permission Template":

      • The button is always available even if nothing is selected
      • When clicking on the button, a popup appears, asking the user to confirm deletion of "All projects" projects, or if projects are selected "X projects". This "All" option will select every project and not only the first 50 that are displayed

      Solution:

      • add parameters onProvisionedOnly, projects, projectIds to WS api/projects/search
      • deprecate WS api/projects/provisioned for the benefit of api/projects/search
      • WS api/projects/bulk_delete accepts the same parameters as api/projects/search
      • use search parameters in the UI to bulk delete
      • use search parameters in the UI to bulk update permission templates
      • use WS api/projects/search instead of api/projects/provisioned

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              teryk.bellahsene Teryk Bellahsene
              Reporter:
              stas.vilchik Stas Vilchik (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: