Enum RoleDefinition
- java.lang.Object
-
- java.lang.Enum<RoleDefinition>
-
- com.yahoo.vespa.hosted.controller.api.role.RoleDefinition
-
- All Implemented Interfaces:
Serializable,Comparable<RoleDefinition>
public enum RoleDefinition extends Enum<RoleDefinition>
This declares all tenant roles known to the controller. A role contains one or morePolicys which decide what actions a member of a role can perform, given aContextfor the action. Optionally, some role definitions also inherit all policies from a "lower ranking" role. SeeRolefor roles bound to a context, where policies can be evaluated.- Author:
- mpolden, jonmv
-
-
Enum Constant Summary
Enum Constants Enum Constant Description administratorAdmin — the administrative function for user management etc.athenzTenantAdminTenant administrator with full access to all child resources.buildServiceBuild service which may submit new applications for continuous deployment.developerUser — the dev.ops.everyoneBase role which every user is part of.headlessHeadless — the application specific role identified by deployment keys for productionhostedAccountanthostedDeveloperDeveloper for manual deployments for a tenanthostedOperatorDeus ex machina.hostedSupporterMachina autem exspiravit.paymentProcessorreaderReader — the base role for all tenant userssystemFlagsDeployersystemFlagsDryrunner
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RoleDefinitionvalueOf(String name)Returns the enum constant of this type with the specified name.static RoleDefinition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
hostedOperator
public static final RoleDefinition hostedOperator
Deus ex machina.
-
hostedSupporter
public static final RoleDefinition hostedSupporter
Machina autem exspiravit.
-
everyone
public static final RoleDefinition everyone
Base role which every user is part of.
-
buildService
public static final RoleDefinition buildService
Build service which may submit new applications for continuous deployment.
-
reader
public static final RoleDefinition reader
Reader — the base role for all tenant users
-
developer
public static final RoleDefinition developer
User — the dev.ops. role for normal Vespa tenant users
-
hostedDeveloper
public static final RoleDefinition hostedDeveloper
Developer for manual deployments for a tenant
-
administrator
public static final RoleDefinition administrator
Admin — the administrative function for user management etc.
-
headless
public static final RoleDefinition headless
Headless — the application specific role identified by deployment keys for production
-
athenzTenantAdmin
public static final RoleDefinition athenzTenantAdmin
Tenant administrator with full access to all child resources.
-
systemFlagsDeployer
public static final RoleDefinition systemFlagsDeployer
-
systemFlagsDryrunner
public static final RoleDefinition systemFlagsDryrunner
-
paymentProcessor
public static final RoleDefinition paymentProcessor
-
hostedAccountant
public static final RoleDefinition hostedAccountant
-
-
Method Detail
-
values
public static RoleDefinition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RoleDefinition c : RoleDefinition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoleDefinition valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-