Skip to main content

Module policy

Module policy 

Source
Expand description

Security-policy evaluation (Check … statements).

Constants§

NO_POLICIES
The reason a Check in a program with no ## Policy block stops the program with.

Functions§

check_failed
The reason a Check that does not hold stops the program with — the one wording every tier reports.
check_policy
Run a Check statement against already-resolved subject/object values. Every error string lives here — both engines produce the identical text.
evaluate_policy_condition
Evaluate one policy condition against a subject (and optional object).
no_predicate
The reason a Check naming a predicate its subject’s type does not define stops the program with.