Enum Class RoleDefinition

java.lang.Object
java.lang.Enum<RoleDefinition>
com.yahoo.vespa.hosted.controller.api.role.RoleDefinition
All Implemented Interfaces:
Serializable, Comparable<RoleDefinition>, Constable

public enum RoleDefinition extends Enum<RoleDefinition>
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
  • Enum Constant Details

    • 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 Details

    • values

      public static RoleDefinition[] 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

      public static RoleDefinition valueOf(String name)
      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 name
      NullPointerException - if the argument is null