afv-library/skills/platform-policy-rule-generate/references/templates.md

804 B

Policy Templates — Index

Each template is a verified shape from a passing test fixture. Pick the file matching the category you need.

File What's inside
templates-access.md ACCESS and GOVERNANCE: simple Permit, TupleRead "objects + all fields", tag/classification/permission gates
templates-record.md RECORD: basic RLS (record field = user attribute), RLS via PROJECTION join
templates-transform.md TRANSFORM: field masking with permission + classification gates, parameterized masking (ARGLIST)
templates-advanced.md Multi-condition with custom conjunction (AND/OR mix), hierarchy traversal, IDENTIFIED_RECORD (not authorable via MDAPI)