traits
Table of Contents
Namespaces
Traits
- CasbinPolicySyncEdgeTrait
- Casbin policy synchronization edge dispatcher.
- CasbinPolicySyncGrantTrait
- Tells which Casbin rules a role or a service still holds, read from the authorization graph.
- CasbinPolicySyncPolicyTrait
- Casbin policy synchronization handlers for the `policies` collection.
- CasbinPolicySyncRoleTrait
- Casbin policy synchronization handlers for the `roles` collection.
- CasbinPolicySyncRuleTrait
- The Casbin rule a permission writes, read the same way by every handler of the live sync.
- CasbinPolicySyncServiceTrait
- Casbin policy synchronization handlers for the `services` collection.
- CasbinPolicySyncUserTrait
- Casbin policy synchronization handlers for the `users` collection.
- CasbinSyncTrait
- Shared wiring for controllers that need to invoke {@see CasbinPolicySync} during their lifecycle — typically to clean up policies in the `rbac` collection before a vertex is deleted (cf. PoliciesController + PermissionsController).
- UserMaxLevelResolverTrait
- Standalone trait for the {@see UserMaxLevelResolver} dependency.