Skip to main content

audit_page

Function audit_page 

Source
pub fn audit_page(
    page: Option<i64>,
    actor: Option<String>,
    session: Option<AdminSession>,
    return_to: ReturnTo,
    pool: &State<DbPool>,
) -> Result<Template, Redirect>
Expand description

The audit-log screen (GET /admin/audit): the human view of recent admin actions, signed-in admins only (an unauthenticated browser is redirected to the sign-in page). Optional ?actor= and ?limit= mirror the agent endpoint.