RuleDenialReason enum
Why a rule refused, which decides the platform's answer (04 §3.2.1, local
data 3.3): unauthenticated is a 401, categorical a 403, and
recordDependent (the rule reads the record, newRecord or
changedFields()) a 404 on a record route unless the 403 rule of 3.3
applies. FFX answers every create denial with a 403 (or a 401), so with
operation: 'create' evaluateRule never reports recordDependent.
Values
- unauthenticated → const RuleDenialReason
- categorical → const RuleDenialReason
- recordDependent → const RuleDenialReason
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
RuleDenialReason> - A constant List of the values in this enum, in order of their declaration.