ORIONIS API REFERENCE

THE ORIONIS API

Build with clarity.

Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.

module documentation

Build the framework-owned role and permission storage definitions.

Function build_authorization_tables Build role and permission storage in foreign-key dependency order.
Constant _PERMISSION_ID_COMMENT SQL comment shared by permission identifier columns.
Constant _ROLE_ID_COMMENT SQL comment shared by role identifier columns.
def build_authorization_tables() -> tuple[TableDefinition, ...]: (source)

Build role and permission storage in foreign-key dependency order.

Returns
tuple of orionis.orm.schema.TableDefinitionFresh definitions for capabilities and their polymorphic assignments.
_PERMISSION_ID_COMMENT: str = (source)

SQL comment shared by permission identifier columns.

Value
'Permission ID'
_ROLE_ID_COMMENT: str = (source)

SQL comment shared by role identifier columns.

Value
'Role ID'