Skip to main content

narrow

Function narrow 

Source
pub async fn narrow(
    pool: &PgPool,
    actor: Actor,
    interfaces: &[Interface],
) -> AppResult<Actor>
Expand description

The actor as it is seen through interfaces: groups that switched one of them off are hidden. One cheap query; without a policy nothing changes.