Skip to main content

report

Function report 

Source
pub async fn report(
    pool: &PgPool,
    actor: &Actor,
    project_id: Uuid,
) -> AppResult<AccessReport>
Expand description

The access report of a restricted group.

§Invariants

  • Permission: managers of the group and administrators (403 otherwise; a group hidden from the actor is “not found”); the group must be restricted (409).
  • Data: read-only; the clock of the database decides what is stale.