]> source.dussan.org Git - sonarqube.git/commit
SONAR-4453 Added a logical key in the permission_templates table and rearranged permi...
authorJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Fri, 12 Jul 2013 16:01:48 +0000 (18:01 +0200)
committerJean-Baptiste Vilain <jean-baptiste.vilain@sonarsource.com>
Fri, 12 Jul 2013 16:01:48 +0000 (18:01 +0200)
commit2dc9ca437d7bade2a56cd2e0ec7559aee6c58ecb
treed09e7d289eb83e8b666a2400abbfb48d700faeb0
parent637de3fc8d9eb3f13390274f2a92b61382410bd2
SONAR-4453 Added a logical key in the permission_templates table and rearranged permission-related classes
98 files changed:
sonar-core/src/main/java/org/sonar/core/date/DateProvider.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/date/DefaultDateProvider.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/permission/Permission.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/permission/PermissionDao.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/permission/PermissionTemplateDto.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/permission/PermissionTemplateGroupDto.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/permission/PermissionTemplateMapper.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/permission/PermissionTemplateUserDto.java [new file with mode: 0644]
sonar-core/src/main/java/org/sonar/core/persistence/DaoUtils.java
sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java
sonar-core/src/main/java/org/sonar/core/resource/DefaultResourcePermissions.java
sonar-core/src/main/java/org/sonar/core/user/Permission.java [deleted file]
sonar-core/src/main/java/org/sonar/core/user/PermissionDao.java [deleted file]
sonar-core/src/main/java/org/sonar/core/user/PermissionTemplateDto.java [deleted file]
sonar-core/src/main/java/org/sonar/core/user/PermissionTemplateGroupDto.java [deleted file]
sonar-core/src/main/java/org/sonar/core/user/PermissionTemplateMapper.java [deleted file]
sonar-core/src/main/java/org/sonar/core/user/PermissionTemplateUserDto.java [deleted file]
sonar-core/src/main/resources/org/sonar/core/permission/PermissionTemplateMapper.xml [new file with mode: 0644]
sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql
sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl
sonar-core/src/main/resources/org/sonar/core/user/PermissionTemplateMapper.xml [deleted file]
sonar-core/src/test/java/org/sonar/core/permission/ComponentPermissionFacadeTest.java
sonar-core/src/test/java/org/sonar/core/permission/PermissionDaoTest.java [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/core/resource/DefaultResourcePermissionsTest.java
sonar-core/src/test/java/org/sonar/core/user/PermissionDaoTest.java [deleted file]
sonar-core/src/test/java/org/sonar/core/user/RoleDaoTest.java
sonar-core/src/test/resources/org/sonar/core/permission/ComponentPermissionFacadeTest/should_apply_permission_template-result.xml
sonar-core/src/test/resources/org/sonar/core/permission/ComponentPermissionFacadeTest/should_apply_permission_template.xml
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/addGroupPermissionToTemplate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/addGroupPermissionToTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/addNullGroupPermissionToTemplate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/addNullGroupPermissionToTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/addUserPermissionToTemplate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/addUserPermissionToTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/createNonAsciiPermissionTemplate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/createNonAsciiPermissionTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/createPermissionTemplate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/createPermissionTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/deletePermissionTemplate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/deletePermissionTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/removeGroupPermissionFromTemplate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/removeGroupPermissionFromTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/removeNullGroupPermissionFromTemplate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/removeNullGroupPermissionFromTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/removeUserPermissionFromTemplate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/removeUserPermissionFromTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/selectAllPermissionTemplates.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/selectEmptyPermissionTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/selectPermissionTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/updatePermissionTemplate-result.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/permission/PermissionDaoTest/updatePermissionTemplate.xml [new file with mode: 0644]
sonar-core/src/test/resources/org/sonar/core/persistence/DryRunDatabaseFactoryTest/should_copy_permission_templates.xml
sonar-core/src/test/resources/org/sonar/core/resource/DefaultResourcePermissionsTest/grantDefaultRoles-result.xml
sonar-core/src/test/resources/org/sonar/core/resource/DefaultResourcePermissionsTest/grantDefaultRoles.xml
sonar-core/src/test/resources/org/sonar/core/resource/DefaultResourcePermissionsTest/grantDefaultRolesProject.xml
sonar-core/src/test/resources/org/sonar/core/resource/DefaultResourcePermissionsTest/grantDefaultRoles_unknown_group-result.xml
sonar-core/src/test/resources/org/sonar/core/resource/DefaultResourcePermissionsTest/grantDefaultRoles_unknown_group.xml
sonar-core/src/test/resources/org/sonar/core/resource/DefaultResourcePermissionsTest/grantDefaultRoles_users-result.xml
sonar-core/src/test/resources/org/sonar/core/resource/DefaultResourcePermissionsTest/grantDefaultRoles_users.xml
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/addGroupPermissionToTemplate-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/addGroupPermissionToTemplate.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/addNullGroupPermissionToTemplate-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/addNullGroupPermissionToTemplate.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/addUserPermissionToTemplate-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/addUserPermissionToTemplate.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/createPermissionTemplate-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/createPermissionTemplate.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/deletePermissionTemplate-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/deletePermissionTemplate.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeGroupPermissionFromTemplate-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeGroupPermissionFromTemplate.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeNullGroupPermissionFromTemplate-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeNullGroupPermissionFromTemplate.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeUserPermissionFromTemplate-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/removeUserPermissionFromTemplate.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/selectAllPermissionTemplates.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/selectEmptyPermissionTemplate.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/selectPermissionTemplate.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/updatePermissionTemplate-result.xml [deleted file]
sonar-core/src/test/resources/org/sonar/core/user/PermissionDaoTest/updatePermissionTemplate.xml [deleted file]
sonar-server/src/main/java/org/sonar/server/issue/IssueFilterService.java
sonar-server/src/main/java/org/sonar/server/permission/InternalPermissionService.java
sonar-server/src/main/java/org/sonar/server/permission/InternalPermissionTemplateService.java
sonar-server/src/main/java/org/sonar/server/permission/PermissionChangeQuery.java
sonar-server/src/main/java/org/sonar/server/permission/PermissionTemplate.java
sonar-server/src/main/java/org/sonar/server/permission/PermissionTemplateUpdater.java
sonar-server/src/main/java/org/sonar/server/user/DefaultUserService.java
sonar-server/src/main/java/org/sonar/server/user/UserSession.java
sonar-server/src/main/webapp/WEB-INF/db/migrate/415_create_permission_templates.rb
sonar-server/src/test/java/org/sonar/server/issue/IssueFilterServiceTest.java
sonar-server/src/test/java/org/sonar/server/permission/InternalPermissionServiceTest.java
sonar-server/src/test/java/org/sonar/server/permission/InternalPermissionTemplateServiceTest.java
sonar-server/src/test/java/org/sonar/server/permission/PermissionChangeQueryTest.java
sonar-server/src/test/java/org/sonar/server/permission/PermissionTemplateTest.java
sonar-server/src/test/java/org/sonar/server/permission/PermissionTemplateUpdaterTest.java
sonar-server/src/test/java/org/sonar/server/user/DefaultUserServiceTest.java
sonar-server/src/test/java/org/sonar/server/user/MockUserSession.java
sonar-server/src/test/java/org/sonar/server/user/UserSessionTest.java