Skip to main content

record

Function record 

Source
pub async fn record(
    pool: &PgPool,
    ctx: &AccessCtx,
    actor: &Actor,
    s: Subject<'_>,
) -> AppResult<()>
Expand description

Logs a read when the object’s group logs reads. Without a group, or when the group does not log, nothing is written. A failing write is an error: a download of a logged group that cannot be logged does not happen.