]> source.dussan.org Git - sonarqube.git/commit
SONAR-13089 Fix permission template issue when lot of groups
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Tue, 18 Feb 2020 12:54:34 +0000 (13:54 +0100)
committerSonarTech <sonartech@sonarsource.com>
Tue, 18 Feb 2020 19:46:12 +0000 (20:46 +0100)
commiteacba88db0a44e34156e9e31d315ef31d61e726a
treeaf8c645d813734945212c8143846b55777c13267
parent4882ea80f8b10706fef9d6b9a325f8820dde75e3
SONAR-13089 Fix permission template issue when lot of groups

* Remove PermissionQuery#template
* SONAR-13089 Fix api/templates/template_groups WS
* Add UTs for api/templates/template_users WS
server/sonar-db-dao/src/main/java/org/sonar/db/permission/PermissionQuery.java
server/sonar-db-dao/src/main/resources/org/sonar/db/permission/template/PermissionTemplateMapper.xml
server/sonar-db-dao/src/test/java/org/sonar/db/permission/template/GroupWithPermissionTemplateDaoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/permission/template/PermissionTemplateDaoTest.java
server/sonar-db-dao/src/test/java/org/sonar/db/permission/template/UserWithPermissionTemplateDaoTest.java
server/sonar-webserver-webapi/src/main/java/org/sonar/server/permission/ws/template/TemplateUsersAction.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/TemplateGroupsActionTest.java
server/sonar-webserver-webapi/src/test/java/org/sonar/server/permission/ws/template/TemplateUsersActionTest.java