Skip to content

symfonic.platform.working_access

working_access

Explicit native HTTP Working ownership, separate from tenant administration.

WorkingOwnerPort

Bases: Protocol

authorize_working async

authorize_working(principal: AuthenticatedPrincipal, session_id: str, operation: str) -> WorkingOwnerGrant | None

Verify this exact principal owns the tenant's conversation.

Source code in src/symfonic/platform/working_access.py
async def authorize_working(
    self, principal: AuthenticatedPrincipal, session_id: str, operation: str,
) -> WorkingOwnerGrant | None:
    """Verify this exact principal owns the tenant's conversation."""