Skip to main content

Module pep_properties

Module pep_properties 

Source
Expand description

Well-known authorization property names.

These constants are shared between the PEP compiler and the ORM condition builder (ScopableEntity::resolve_property()), ensuring a single source of truth for property names.

Constantsยง

OWNER_ID
Owner (user) identity property. Typically maps to an owner_id column.
OWNER_TENANT_ID
Tenant-ownership property. Typically maps to the tenant_id column.
RESOURCE_ID
Resource identity property. Typically maps to the primary key column.