From f91f284d773ae7d1b566c2476200dc96dd364f37 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 3 Nov 2011 23:45:56 +0000 Subject: [PATCH] upgrade to redback 1.4-SNAPSHOT use an artifact with test resources from redback to avoid too much file duplication redback-core.xml git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197356 13f79535-47bb-0310-9956-ffa450edef68 --- .../archiva-core-consumers/pom.xml | 5 + .../META-INF/redback/redback-core.xml | 232 ------------------ pom.xml | 8 +- 3 files changed, 12 insertions(+), 233 deletions(-) delete mode 100644 archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/META-INF/redback/redback-core.xml diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml index 0fcdd1e3b..3ce402950 100644 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml +++ b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/pom.xml @@ -102,6 +102,11 @@ derby test + + org.codehaus.redback + redback-common-test-resources + test + diff --git a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/META-INF/redback/redback-core.xml b/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/META-INF/redback/redback-core.xml deleted file mode 100644 index c74e47dbe..000000000 --- a/archiva-modules/archiva-base/archiva-consumers/archiva-core-consumers/src/test/resources/META-INF/redback/redback-core.xml +++ /dev/null @@ -1,232 +0,0 @@ - - - - 1.0.0 - - - System - Roles that apply system-wide, across all of the applications - 1.0.0 - - - global - * - true - global resource implies full access for authorization - - - username - ${username} - true - replaced with the username of the principal at authorization check time - - - - - configuration-edit - configuration-edit - edit configuration - true - - - user-management-user-create - user-management-user-create - create user - true - - - user-management-user-edit - user-management-user-edit - edit user - true - - - user-management-user-role - user-management-user-role - user roles - true - - - user-management-user-delete - user-management-user-delete - delete user - true - - - user-management-user-list - user-management-user-list - list users - true - - - user-management-role-grant - user-management-role-grant - grant role - true - - - user-management-role-drop - user-management-role-drop - drop role - true - - - user-management-rbac-admin - user-management-rbac-admin - administer rbac - true - - - guest-access - guest-access - access guest - true - - - user-management-manage-data - user-management-manage-data - manage data - true - - - - - system-administrator - System Administrator - true - true - - - edit-redback-configuration - Edit Redback Configuration - configuration-edit - global - true - - - manage-rbac-setup - User RBAC Management - user-management-rbac-admin - global - true - - - manage-rbac-data - RBAC Manage Data - user-management-manage-data - global - true - - - - user-administrator - - - - user-administrator - User Administrator - true - true - - - drop-roles-for-anyone - Drop Roles for Anyone - user-management-role-drop - global - true - - - grant-roles-for-anyone - Grant Roles for Anyone - user-management-role-grant - global - true - - - user-create - Create Users - user-management-user-create - global - true - - - user-delete - Delete Users - user-management-user-delete - global - true - - - user-edit - Edit Users - user-management-user-edit - global - true - - - access-users-roles - Access Users Roles - user-management-user-role - global - true - - - access-user-list - Access User List - user-management-user-list - global - true - - - - - registered-user - Registered User - true - true - - - edit-user-by-username - Edit User Data by Username - user-management-user-edit - username - true - - - - - guest - Guest - true - true - - - guest-permission - Guest Permission - guest-access - global - true - - - - - - - \ No newline at end of file diff --git a/pom.xml b/pom.xml index 7b61e0423..76b9346cc 100644 --- a/pom.xml +++ b/pom.xml @@ -66,7 +66,7 @@ 3.0.3 2.0.8 2.0 - 1.3 + 1.4-SNAPSHOT 1.6.1 0.11 3.0.5.RELEASE @@ -965,6 +965,12 @@ ${redback.version} tests + + org.codehaus.redback + redback-common-test-resources + ${redback.version} + test + org.codehaus.redback redback-authentication-api -- 2.39.5