Skip to main content

render_permitted

Function render_permitted 

Source
pub fn render_permitted(art: &NQuin, norms: &[NQuin], now_unix: u32) -> bool
Expand description

Deontic query. Evaluate the render norms and return whether displaying this artefact is permitted: it is, unless some Active FORBID norm’s action targets this artefact’s id.

Fails closed: if the norm set exceeds MAX_RENDER_NORMS or cannot be evaluated, this returns false (deny) — a governance default, never a silent permit.