Skip to main content

forget_tenant

Function forget_tenant 

Source
pub async fn forget_tenant(
    ex: &mut dyn Executor,
    tenant: TenantId,
) -> Result<()>
Expand description

Deletes the entries filed under tenant, for a tenant being erased, but those recording an impersonation: a start is filed under the actor’s tenant, and stays as the record of who reached which account until prune deletes it. Entries of panels that act for no tenant name none, and stay.

§Errors

The driver’s failure when the rows cannot be deleted.