Skip to main content

MAX_ACL_JSON_DEPTH

Constant MAX_ACL_JSON_DEPTH 

Source
pub const MAX_ACL_JSON_DEPTH: usize = 32;
Expand description

Maximum JSON-LD nesting depth. Solid ACLs are ≤4 levels deep in practice; 32 is a generous fail-closed cap against depth bombs. Configurable via JSS_MAX_ACL_JSON_DEPTH.