Enum Class Action

java.lang.Object
java.lang.Enum<Action>
org.gridgain.internal.rbac.privileges.Action
All Implemented Interfaces:
Serializable, Comparable<Action>, Constable

public enum Action extends Enum<Action>
Privilege action.
  • Enum Constant Details

    • READ_CLUSTER_CONFIG

      public static final Action READ_CLUSTER_CONFIG
    • WRITE_CLUSTER_CONFIG

      public static final Action WRITE_CLUSTER_CONFIG
    • READ_NODE_CONFIG

      public static final Action READ_NODE_CONFIG
    • WRITE_NODE_CONFIG

      public static final Action WRITE_NODE_CONFIG
    • DEPLOY_UNIT

      public static final Action DEPLOY_UNIT
    • UNDEPLOY_UNIT

      public static final Action UNDEPLOY_UNIT
    • READ_UNIT

      public static final Action READ_UNIT
    • EXEC_JOB

      public static final Action EXEC_JOB
    • GET_JOB_STATE

      public static final Action GET_JOB_STATE
    • KILL_JOB

      public static final Action KILL_JOB
    • CHANGE_JOB_PRIORITY

      public static final Action CHANGE_JOB_PRIORITY
    • KILL_TRANSACTION

      public static final Action KILL_TRANSACTION
    • GET_TRANSACTION_STATE

      public static final Action GET_TRANSACTION_STATE
    • KILL_QUERY

      public static final Action KILL_QUERY
    • GET_SQL_QUERY_STATE

      public static final Action GET_SQL_QUERY_STATE
    • ENABLE_METRICS

      public static final Action ENABLE_METRICS
    • DISABLE_METRICS

      public static final Action DISABLE_METRICS
    • LIST_METRICS

      public static final Action LIST_METRICS
    • READ_METRICS

      public static final Action READ_METRICS
    • EDIT_USER

      public static final Action EDIT_USER
    • READ_USER

      public static final Action READ_USER
    • CREATE_USER

      public static final Action CREATE_USER
    • DROP_USER

      public static final Action DROP_USER
    • CREATE_ROLE

      public static final Action CREATE_ROLE
    • READ_ROLE

      public static final Action READ_ROLE
    • DROP_ROLE

      public static final Action DROP_ROLE
    • GRANT_ROLE

      public static final Action GRANT_ROLE
    • REVOKE_ROLE

      public static final Action REVOKE_ROLE
    • GRANT_PRIVILEGE

      public static final Action GRANT_PRIVILEGE
    • REVOKE_PRIVILEGE

      public static final Action REVOKE_PRIVILEGE
    • CREATE_DISTRIBUTION_ZONE

      public static final Action CREATE_DISTRIBUTION_ZONE
    • ALTER_DISTRIBUTION_ZONE

      public static final Action ALTER_DISTRIBUTION_ZONE
    • DROP_DISTRIBUTION_ZONE

      public static final Action DROP_DISTRIBUTION_ZONE
    • RESET_DISTRIBUTION_STATE

      public static final Action RESET_DISTRIBUTION_STATE
    • RESTART_PARTITIONS

      public static final Action RESTART_PARTITIONS
    • RESET_PARTITIONS

      public static final Action RESET_PARTITIONS
    • CREATE_SCHEMA

      public static final Action CREATE_SCHEMA
    • DROP_SCHEMA

      public static final Action DROP_SCHEMA
    • READ_SCHEMA

      public static final Action READ_SCHEMA
    • CREATE_TABLE

      public static final Action CREATE_TABLE
    • SELECT_FROM_TABLE

      public static final Action SELECT_FROM_TABLE
    • ALTER_TABLE

      public static final Action ALTER_TABLE
    • DROP_TABLE

      public static final Action DROP_TABLE
    • INSERT_INTO_TABLE

      public static final Action INSERT_INTO_TABLE
    • UPDATE_TABLE

      public static final Action UPDATE_TABLE
    • DELETE_FROM_TABLE

      public static final Action DELETE_FROM_TABLE
    • CREATE_VIEW

      public static final Action CREATE_VIEW
    • SELECT_FROM_VIEW

      public static final Action SELECT_FROM_VIEW
    • ALTER_VIEW

      public static final Action ALTER_VIEW
    • DROP_VIEW

      public static final Action DROP_VIEW
    • CREATE_INDEX

      public static final Action CREATE_INDEX
    • DROP_INDEX

      public static final Action DROP_INDEX
    • USE_INDEX

      public static final Action USE_INDEX
    • CREATE_SNAPSHOT

      public static final Action CREATE_SNAPSHOT
    • RESTORE_SNAPSHOT

      public static final Action RESTORE_SNAPSHOT
    • DELETE_SNAPSHOT

      public static final Action DELETE_SNAPSHOT
    • CHECK_SNAPSHOT

      public static final Action CHECK_SNAPSHOT
    • RESTORE_PITR

      public static final Action RESTORE_PITR
    • CHECK_PITR

      public static final Action CHECK_PITR
    • CREATE_SEQUENCE

      public static final Action CREATE_SEQUENCE
    • ALTER_SEQUENCE

      public static final Action ALTER_SEQUENCE
    • USE_SEQUENCE

      public static final Action USE_SEQUENCE
    • DROP_SEQUENCE

      public static final Action DROP_SEQUENCE
    • REVOKE_TOKEN

      public static final Action REVOKE_TOKEN
    • ROLLING_UPGRADE

      public static final Action ROLLING_UPGRADE
    • MANAGE_CDC

      public static final Action MANAGE_CDC
  • Method Details

    • values

      public static Action[] 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 Action 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
    • applicableObjectType

      public ObjectType applicableObjectType()
    • singleton

      public boolean singleton()
      Singleton privileges are applicable to only one object, like CLUSTER. For example, CREATE_USER privilege is singleton, because it is a cluster-wide privilege. but CREATE_TABLE is not, because it is applicable to a subset of tables. So, there can be more than one CREATE_TABLE privilege.
    • allowSelfAction

      public boolean allowSelfAction()
      Self action does not require to be assigned explicitly. It means that actions that are applied for the user that is running some operation (read user) will be allowed by default. In other words, user can read itself.