Permission Checker¶
permission_checker
¶
Protocol for permission-checking implementations.
PermissionChecker
¶
Bases: Protocol
Protocol for any callable that decides whether a permission is granted.
Class Type Parameters:
| Name | Bound or Constraints | Description | Default |
|---|---|---|---|
PermissionCheckContext
|
The application-defined context for permission checks. |
required |