Enum Class RoleDefinition
- All Implemented Interfaces:
Serializable,Comparable<RoleDefinition>,Constable
This declares all tenant roles known to the controller. A role contains one or more
Policys which decide
what actions a member of a role can perform, given a Context for the action.
Optionally, some role definitions also inherit all policies from a "lower ranking" role.
See Role for roles bound to a context, where policies can be evaluated.- Author:
- mpolden, jonmv
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdmin — the administrative function for user management etc.Tenant administrator with full access to all child resources.Build service which may submit new applications for continuous deployment.User — the dev.ops.Base role which every user is part of.Headless — the application specific role identified by deployment keys for productionDeveloper for manual deployments for a tenantDeus ex machina.Machina autem exspiravit.Reader — the base role for all tenant users -
Method Summary
Modifier and TypeMethodDescriptionstatic RoleDefinitionReturns the enum constant of this class with the specified name.static RoleDefinition[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
hostedOperator
Deus ex machina. -
hostedSupporter
Machina autem exspiravit. -
everyone
Base role which every user is part of. -
buildService
Build service which may submit new applications for continuous deployment. -
reader
Reader — the base role for all tenant users -
developer
User — the dev.ops. role for normal Vespa tenant users -
hostedDeveloper
Developer for manual deployments for a tenant -
administrator
Admin — the administrative function for user management etc. -
headless
Headless — the application specific role identified by deployment keys for production -
athenzTenantAdmin
Tenant administrator with full access to all child resources. -
systemFlagsDeployer
-
systemFlagsDryrunner
-
paymentProcessor
-
hostedAccountant
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-