Skip to main content

enforced

Function enforced 

Source
pub fn enforced(cx: &Cx) -> bool
Expand description

Whether the request’s panel requires a signed-in user.

Outside any panel — an app’s own page, or a shard no panel declared — it answers whether some mounted panel does, so a check there fails closed.