Enum Class PermissionEnforcement

java.lang.Object
java.lang.Enum<PermissionEnforcement>
com.kingsrook.qqq.backend.core.actions.permissions.PermissionEnforcement
All Implemented Interfaces:
Serializable, Comparable<PermissionEnforcement>, Constable

public enum PermissionEnforcement extends Enum<PermissionEnforcement>
How a core action (Query, Get, Count, Aggregate, Insert, Update, Delete, Replace, RunProcess, RenderWidget, GenerateReport, Export) should treat table/process/widget/report permissions and field security locks for the current session. Set on an action input via AbstractActionInput.withPermissionEnforcement (ENFORCE) or AbstractActionInput.withPermissionBypass(reason) (SKIP). See CorePermissionEnforcer for the full rules.
  • Enum Constant Details

    • DEFAULT

      public static final PermissionEnforcement DEFAULT
      /////////////////////////////////////////////////////////////////////////
    • ENFORCE

      public static final PermissionEnforcement ENFORCE
      ////////////////////////////////////////////////////////////////////////
    • SKIP

      public static final PermissionEnforcement SKIP
      ////////////////////////////////////////////////////////////////////////////
  • Method Details

    • values

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