src/dazzle_back/runtime/access_control.py¶
Generated: 2026-03-30T04:38:46.680682+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Access control and row-level security for DNR Backend.
Provides owner-based and tenant-based access control for entities.
Key Exports¶
AccessContextAccessOperationAccessRuleAccessPolicyPolicyRegistryAccessDeniedAccessEnforcerdetect_owner_fielddetect_tenant_fieldcreate_policy_from_entityis_authenticatedis_tenant_scopedhas_roleevaluatecreate_publiccreate_authenticatedcreate_owner_basedcreate_tenant_basedcan_accessget_list_filters
Dependencies¶
Imports¶
__future__.annotationscollections.abc.Callableenum.StrEnumtyping.Anyuuid.UUIDpydantic.BaseModelpydantic.Field
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_access_control.pytests/security/test_asvs_v4_access_control.pytests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.