PermissionCondition¶
Structure Class¶
PermissionCondition
dataclass
¶
Defines a condition that restricts when a permission is effective. Conditions allow you to control access based on specific attributes of the request.
Attributes¶
condition_key
instance-attribute
¶
condition_key: str
The key for the condition. This identifies the attribute that the condition applies to.
condition_operator
instance-attribute
¶
condition_operator: PermissionConditionOperator
The operator to use for the condition evaluation. This determines how the condition values are compared.
condition_values
instance-attribute
¶
condition_values: list[str]
The values to compare against using the specified condition operator.