]> source.dussan.org Git - sonarqube.git/commit
SONAR-8134 remove RoleDao#countComponentPermissions()
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 13 Oct 2016 05:41:44 +0000 (07:41 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Thu, 13 Oct 2016 10:18:42 +0000 (12:18 +0200)
commit0e55e8b6c465cf43959cc02c9b2c0b949829db19
treecc25a236610c56f3f2f3f95320aea2491bd08a61
parentb2ab634816dce76926da525a482383ab5cd6f4dc
SONAR-8134 remove RoleDao#countComponentPermissions()

replaced by GroupPermissionDao#hasRootComponentPermissions() and
 UserPermissionDao#hasRootComponentPermissions()
16 files changed:
server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/ApplyPermissionsStep.java
sonar-db/src/main/java/org/sonar/db/permission/GroupPermissionDao.java
sonar-db/src/main/java/org/sonar/db/permission/GroupPermissionMapper.java
sonar-db/src/main/java/org/sonar/db/permission/UserPermissionDao.java
sonar-db/src/main/java/org/sonar/db/permission/UserPermissionMapper.java
sonar-db/src/main/java/org/sonar/db/user/RoleDao.java
sonar-db/src/main/java/org/sonar/db/user/RoleMapper.java
sonar-db/src/main/resources/org/sonar/db/permission/GroupPermissionMapper.xml
sonar-db/src/main/resources/org/sonar/db/permission/UserPermissionMapper.xml
sonar-db/src/main/resources/org/sonar/db/user/RoleMapper.xml
sonar-db/src/test/java/org/sonar/db/permission/GroupPermissionDaoTest.java
sonar-db/src/test/java/org/sonar/db/permission/UserPermissionDaoTest.java
sonar-db/src/test/java/org/sonar/db/user/RoleDaoTest.java
sonar-db/src/test/java/org/sonar/db/user/RoleMapperTest.java [deleted file]
sonar-db/src/test/resources/org/sonar/db/user/RoleDaoTest/should_count_component_permissions.xml [deleted file]
sonar-db/src/test/resources/org/sonar/db/user/RoleMapperTest/countRoles.xml [deleted file]