]> source.dussan.org Git - sonarqube.git/commit
SONAR-10074 Add QP actions "delete" and "associateProjects"
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Wed, 29 Nov 2017 14:07:50 +0000 (15:07 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 4 Dec 2017 15:02:52 +0000 (16:02 +0100)
commitf25ece8fe820b708f08aac652cdda94183bcb2df
treebfee02036d06b5f468d906154767f14ac1a6573e
parent2ba36cab8ba668c3dfa4c6e33399bd076b356adf
SONAR-10074 Add QP actions "delete" and "associateProjects"

In api/qualityprofiles/search, the following actions are now availables :
- delete : Available when not built-it, not default, and have either QP admin permission or have rights to edit
- associateProjects : Available when not default and have either QP admin permission or have rights to edit
server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/SearchAction.java
server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/SearchData.java
server/sonar-server/src/main/resources/org/sonar/server/qualityprofile/ws/search-example.json
server/sonar-server/src/test/java/org/sonar/server/qualityprofile/ws/SearchActionTest.java
sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
tests/src/test/java/org/sonarqube/tests/qualityProfile/QualityProfilesEditTest.java