diff --git a/archiva-web/archiva-security/src/main/resources/META-INF/redback/redback.xml b/archiva-web/archiva-security/src/main/resources/META-INF/redback/redback.xml index 1a9b233b9..655ccaa63 100644 --- a/archiva-web/archiva-security/src/main/resources/META-INF/redback/redback.xml +++ b/archiva-web/archiva-security/src/main/resources/META-INF/redback/redback.xml @@ -1,223 +1,228 @@ - 1.0.0 - Archiva - - - archiva-manage-users - archiva-manage-users - Manage Archiva Users - - - archiva-manage-configuration - archiva-manage-configuration - Manage Archiva Configuration - - - archiva-regenerate-index - archiva-regenerate-index - Regenerate Archiva Index - - - archiva-run-indexer - archiva-run-indexer - Run Archiva Indexer - - - archiva-access-reports - archiva-access-reports - Access Archiva Reports - - - archiva-add-repository - archiva-add-repository - Add Archiva Repository - - - archiva-delete-repository - archiva-delete-repository - Delete Archiva Repository - - - archiva-read-repository - archiva-read-repository - Read Archiva Repository - - - archiva-edit-repository - archiva-edit-repository - Edit Archiva Repository - - - archiva-upload-repository - archiva-upload-repository - Upload Archiva Repository - - - archiva-access-repository - archiva-access-repository - Access Archiva Repository - - - archiva-guest - archiva-guest - Active Archiva Guest - - - - - archiva-system-administrator - Archiva System Administrator - true - false - - - archiva-manage-configuration - archiva-manage-configuration - archiva-manage-configuration - global - true - - - archiva-manage-users - archiva-manage-users - archiva-manage-users - global - true - - - archiva-run-indexer - archiva-run-indexer - archiva-run-indexer - global - true - - - archiva-regenerate-index - archiva-regenerate-index - archiva-regenerate-index - global - true - - - archiva-access-reports - archiva-access-reports - archiva-access-reports - global - true - - - - archiva-global-repository-manager - - - system-administrator - - - - archiva-user-administrator - Archiva User Administrator - true - false - - - archiva-guest - Archiva Guest Permission - archiva-guest - global - true - - - - user-administrator - - - - archiva-guest - Archiva Guest - true - false - - - archiva-guest - Archiva Guest Permission - archiva-guest - global - true - - - - guest - - - - archiva-global-repository-manager - Global Repository Manager - true - true - - - archiva-add-repository - Archiva Add Repository - archiva-add-repository - global - true - - - - - archiva-global-repository-observer - Global Repository Observer - true - true - - - - - - + 1.0.0 + + + Archiva + 1.0 + + + archiva-manage-users + archiva-manage-users + Manage Archiva Users + + + archiva-manage-configuration + archiva-manage-configuration + Manage Archiva Configuration + + + archiva-regenerate-index + archiva-regenerate-index + Regenerate Archiva Index + + + archiva-run-indexer + archiva-run-indexer + Run Archiva Indexer + + + archiva-access-reports + archiva-access-reports + Access Archiva Reports + + + archiva-add-repository + archiva-add-repository + Add Archiva Repository + + + archiva-delete-repository + archiva-delete-repository + Delete Archiva Repository + + + archiva-read-repository + archiva-read-repository + Read Archiva Repository + + + archiva-edit-repository + archiva-edit-repository + Edit Archiva Repository + + + archiva-upload-repository + archiva-upload-repository + Upload Archiva Repository + + + archiva-access-repository + archiva-access-repository + Access Archiva Repository + + + archiva-guest + archiva-guest + Active Archiva Guest + + + + + archiva-system-administrator + Archiva System Administrator + true + false + + + archiva-manage-configuration + archiva-manage-configuration + archiva-manage-configuration + global + true + + + archiva-manage-users + archiva-manage-users + archiva-manage-users + global + true + + + archiva-run-indexer + archiva-run-indexer + archiva-run-indexer + global + true + + + archiva-regenerate-index + archiva-regenerate-index + archiva-regenerate-index + global + true + + + archiva-access-reports + archiva-access-reports + archiva-access-reports + global + true + + + + archiva-global-repository-manager + + + system-administrator + + + + archiva-user-administrator + Archiva User Administrator + true + false + + + archiva-guest + Archiva Guest Permission + archiva-guest + global + true + + + + user-administrator + + + + archiva-guest + Archiva Guest + true + false + + + archiva-guest + Archiva Guest Permission + archiva-guest + global + true + + + + guest + + + + archiva-global-repository-manager + Global Repository Manager + true + true + + + archiva-add-repository + Archiva Add Repository + archiva-add-repository + global + true + + + + + archiva-global-repository-observer + Global Repository Observer + true + true + + + + + + + + \ No newline at end of file diff --git a/archiva-web/archiva-security/src/test/resources/META-INF/redback/redback-core.xml b/archiva-web/archiva-security/src/test/resources/META-INF/redback/redback-core.xml index 794d52762..bda8ec96b 100644 --- a/archiva-web/archiva-security/src/test/resources/META-INF/redback/redback-core.xml +++ b/archiva-web/archiva-security/src/test/resources/META-INF/redback/redback-core.xml @@ -1,195 +1,199 @@ - - 1.0.0 - Redback XWork Integration Security Core - - - 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 - - - - - 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 - - - - 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 - - - - + 1.0.0 + + + Redback XWork Integration Security Core + 1.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 + + + + + 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 + + + + 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/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/DefaultUserRepositoriesTest.xml b/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/DefaultUserRepositoriesTest.xml index 5de5fb286..8d43cac8d 100644 --- a/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/DefaultUserRepositoriesTest.xml +++ b/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/DefaultUserRepositoriesTest.xml @@ -110,11 +110,6 @@ org.codehaus.plexus.redback.role.DefaultRoleManager RoleProfileManager: - - org.codehaus.plexus.redback.role.merger.RoleModelMerger - default - modelMerger - org.codehaus.plexus.redback.role.validator.RoleModelValidator default diff --git a/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/RoleManagerTest.xml b/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/RoleManagerTest.xml index d45485407..f32a77d10 100644 --- a/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/RoleManagerTest.xml +++ b/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/RoleManagerTest.xml @@ -7,11 +7,6 @@ org.codehaus.plexus.redback.role.DefaultRoleManager RoleProfileManager: - - org.codehaus.plexus.redback.role.merger.RoleModelMerger - default - modelMerger - org.codehaus.plexus.redback.role.validator.RoleModelValidator default diff --git a/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/SecurityStartupTest.xml b/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/SecurityStartupTest.xml index a29933aef..0ff02e859 100644 --- a/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/SecurityStartupTest.xml +++ b/archiva-web/archiva-security/src/test/resources/org/apache/maven/archiva/security/SecurityStartupTest.xml @@ -99,12 +99,7 @@ org.codehaus.plexus.redback.role.DefaultRoleManager singleton RoleProfileManager: - - - org.codehaus.plexus.redback.role.merger.RoleModelMerger - default - modelMerger - + org.codehaus.plexus.redback.role.validator.RoleModelValidator default diff --git a/pom.xml b/pom.xml index 5c55326f8..f22341b7f 100644 --- a/pom.xml +++ b/pom.xml @@ -915,7 +915,7 @@ 2.0.5 1.0-rc1-SNAPSHOT - 1.0-alpha-4 + 1.1-SNAPSHOT