1package org.apache.archiva.redback.integration.security.role;
23/*4 * Licensed to the Apache Software Foundation (ASF) under one5 * or more contributor license agreements. See the NOTICE file6 * distributed with this work for additional information7 * regarding copyright ownership. The ASF licenses this file8 * to you under the Apache License, Version 2.0 (the9 * "License"); you may not use this file except in compliance10 * with the License. You may obtain a copy of the License at11 *12 * http://www.apache.org/licenses/LICENSE-2.013 *14 * Unless required by applicable law or agreed to in writing,15 * software distributed under the License is distributed on an16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY17 * KIND, either express or implied. See the License for the18 * specific language governing permissions and limitations19 * under the License.20 */2122/**23 * Inteface with role constants24 * @author Olivier Lamy25 * @since 1.326 *27 */28publicinterfaceRedbackRoleConstants29 {
30publicstaticfinal String ADMINISTRATOR_ACCOUNT_NAME = "admin";
3132// roles33publicstaticfinal String SYSTEM_ADMINISTRATOR_ROLE = "System Administrator";
3435publicstaticfinal String USER_ADMINISTRATOR_ROLE = "User Administrator";
3637publicstaticfinal String REGISTERED_USER_ROLE = "Registered User";
3839/**40 * @since 1.441 */42publicstaticfinal String REGISTERED_USER_ROLE_ID = "registered-user";
4344publicstaticfinal String GUEST_ROLE = "Guest";
4546// guest access operation47publicstaticfinal String GUEST_ACCESS_OPERATION = "guest-access";
4849// operations against configuration50publicstaticfinal String CONFIGURATION_EDIT_OPERATION = "configuration-edit";
5152// operations against user53publicstaticfinal String USER_MANAGEMENT_USER_CREATE_OPERATION = "user-management-user-create";
5455publicstaticfinal String USER_MANAGEMENT_USER_EDIT_OPERATION = "user-management-user-edit";
5657publicstaticfinal String USER_MANAGEMENT_USER_ROLE_OPERATION = "user-management-user-role";
5859publicstaticfinal String USER_MANAGEMENT_USER_DELETE_OPERATION = "user-management-user-delete";
6061publicstaticfinal String USER_MANAGEMENT_USER_LIST_OPERATION = "user-management-user-list";
6263// operations against user assignment.64publicstaticfinal String USER_MANAGEMENT_ROLE_GRANT_OPERATION = "user-management-role-grant";
6566publicstaticfinal String USER_MANAGEMENT_ROLE_DROP_OPERATION = "user-management-role-drop";
6768// operations against rbac objects.69publicstaticfinal String USER_MANAGEMENT_RBAC_ADMIN_OPERATION = "user-management-rbac-admin";
7071publicstaticfinal String USER_MANAGEMENT_MANAGE_DATA = "user-management-manage-data";
72 }