diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-09-27 09:41:52 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2016-09-28 16:32:36 +0200 |
commit | c8ccfa2cedc3b7e33730ad5303382eaf75907cdb (patch) | |
tree | 2f6a2cb95b6427388d599e3b6d3a1e87254564d7 /sonar-db/src/test/resources | |
parent | 9974dee49c30039d9c61d2e67b476f8beaea5959 (diff) | |
download | sonarqube-c8ccfa2cedc3b7e33730ad5303382eaf75907cdb.tar.gz sonarqube-c8ccfa2cedc3b7e33730ad5303382eaf75907cdb.zip |
Clean-up AuthorizationDao
Diffstat (limited to 'sonar-db/src/test/resources')
3 files changed, 0 insertions, 133 deletions
diff --git a/sonar-db/src/test/resources/org/sonar/db/user/AuthorizationDaoTest/keep_authorized_users_for_role_and_project_for_anonymous.xml b/sonar-db/src/test/resources/org/sonar/db/user/AuthorizationDaoTest/keep_authorized_users_for_role_and_project_for_anonymous.xml deleted file mode 100644 index 93356a34bda..00000000000 --- a/sonar-db/src/test/resources/org/sonar/db/user/AuthorizationDaoTest/keep_authorized_users_for_role_and_project_for_anonymous.xml +++ /dev/null @@ -1,46 +0,0 @@ -<dataset> - - <!-- users 100 and 101 have no direct grant access, but are in the group 200 that has the role "user" on the project 300 --> - <user_roles id="1" - user_id="100" - resource_id="999" - role="user"/> - <user_roles id="2" - user_id="101" - resource_id="999" - role="user"/> - <user_roles id="3" - user_id="102" - resource_id="999" - role="user"/> - - <groups_users user_id="100" - group_id="200"/> - <groups_users user_id="101" - group_id="200"/> - <groups_users user_id="102" - group_id="201"/> - - <group_roles id="1" - group_id="[null]" - resource_id="300" - role="user"/> - <group_roles id="2" - group_id="201" - resource_id="400" - role="user"/> - - <projects id="300" - kee="pj-w-snapshot" - uuid="DEFG" - uuid_path="NOT_USED" - root_uuid="DEFG" - module_uuid="[null]"/> - <projects id="400" - kee="pj-wo-snapshot" - uuid="EFGH" - uuid_path="NOT_USED" - root_uuid="EFGH" - module_uuid="[null]"/> - -</dataset> diff --git a/sonar-db/src/test/resources/org/sonar/db/user/AuthorizationDaoTest/keep_authorized_users_for_role_and_project_for_group.xml b/sonar-db/src/test/resources/org/sonar/db/user/AuthorizationDaoTest/keep_authorized_users_for_role_and_project_for_group.xml deleted file mode 100644 index 3b7278e4c0a..00000000000 --- a/sonar-db/src/test/resources/org/sonar/db/user/AuthorizationDaoTest/keep_authorized_users_for_role_and_project_for_group.xml +++ /dev/null @@ -1,46 +0,0 @@ -<dataset> - - <!-- users 100 and 101 have no direct grant access, but are in the group 200 that has the role "user" on the project 300 --> - <user_roles id="1" - user_id="100" - resource_id="999" - role="user"/> - <user_roles id="2" - user_id="101" - resource_id="999" - role="user"/> - <user_roles id="3" - user_id="102" - resource_id="999" - role="user"/> - - <groups_users user_id="100" - group_id="200"/> - <groups_users user_id="101" - group_id="200"/> - <groups_users user_id="102" - group_id="201"/> - - <group_roles id="1" - group_id="200" - resource_id="300" - role="user"/> - <group_roles id="2" - group_id="201" - resource_id="400" - role="user"/> - - <projects id="300" - kee="pj-w-snapshot" - uuid="DEFG" - uuid_path="NOT_USED" - root_uuid="DEFG" - module_uuid="[null]"/> - <projects id="400" - kee="pj-wo-snapshot" - uuid="EFGH" - uuid_path="NOT_USED" - root_uuid="EFGH" - module_uuid="[null]"/> - -</dataset> diff --git a/sonar-db/src/test/resources/org/sonar/db/user/AuthorizationDaoTest/keep_authorized_users_for_role_and_project_for_user.xml b/sonar-db/src/test/resources/org/sonar/db/user/AuthorizationDaoTest/keep_authorized_users_for_role_and_project_for_user.xml deleted file mode 100644 index 173657868ec..00000000000 --- a/sonar-db/src/test/resources/org/sonar/db/user/AuthorizationDaoTest/keep_authorized_users_for_role_and_project_for_user.xml +++ /dev/null @@ -1,41 +0,0 @@ -<dataset> - - <!-- Users 100 and 101 are 'user' on project 300 --> - <user_roles id="1" - user_id="100" - resource_id="300" - role="user"/> - <user_roles id="2" - user_id="101" - resource_id="300" - role="user"/> - <user_roles id="3" - user_id="102" - resource_id="300" - role="admin"/> - <user_roles id="4" - user_id="100" - resource_id="400" - role="user"/> - - <groups_users user_id="100" - group_id="200"/> - <group_roles id="1" - group_id="200" - resource_id="400" - role="user"/> - - <projects id="300" - kee="pj-w-snapshot" - uuid="DEFG" - uuid_path="NOT_USED" - root_uuid="DEFG" - module_uuid="[null]"/> - <projects id="400" - kee="pj-wo-snapshot" - uuid="EFGH" - uuid_path="NOT_USED" - root_uuid="EFGH" - module_uuid="[null]"/> - -</dataset> |