Expand description
Security Policy Registry.
Stores predicate and capability definitions parsed from ## Policy blocks.
These are used to generate security methods on structs and enforce them
with the Check statement.
Structs§
- Capability
Def - A capability definition:
A User can publish the Document if... - Policy
Registry - Registry for security policies defined in
## Policyblocks. - Predicate
Def - A predicate definition:
A User is admin if the user's role equals "admin".
Enums§
- Policy
Condition - Condition in a policy definition. Represents the predicate logic for security rules.