Skip to main content

redact_all

Function redact_all 

Source
pub async fn redact_all(
    conn: &mut PgConnection,
    actor: &Actor,
    rows: Vec<Impact>,
) -> AppResult<Vec<Impact>>
Expand description

Redacts impacts for a reader – every impact that leaves this module goes through here. Sources the reader may not see lose their identity, and a releasing change order the reader may not see (it also holds restricted items, see access::change_visible) loses its number and id.