ACM — Access Connectivity
This guide is split into three parts, and you are on Short info. Continue with the tutorial or browse the samples.
Summary
Section titled “Summary”ACM answers: who may access a screen, operation or data resource, and under which conditions?
When to use it
Section titled “When to use it”Use it when access rules must be reviewed consistently across personas, screens and domain/data resources. Start with two roles, one resource, an allowed request and a denied request. Specify defaults and ownership conditions explicitly. Coverage of rules is useful, but it is different from evidence that an application enforces them.
Common mistakes
Section titled “Common mistakes”- Treating screen visibility as the complete authorization boundary.
- Leaving missing-rule defaults or conflicting-rule behavior implicit.
- Reporting rule coverage as if it proved a deployed endpoint enforces access.
Background and history
Section titled “Background and history”Role-based access control has a formal lineage including Ferraiolo and Kuhn’s 1992 NIST paper. Attribute-based conditions add context such as ownership. ACM is ContextBrew’s authored access layer referencing other models; it is not itself the RBAC standard or an independent model of the business domain.
An access matrix makes omissions visible, while predicates handle conditions a role alone cannot express. Review both allow and deny cases, including a user attempting to reach another user’s resource. Never infer a secure default from an unconfigured matrix cell. Exported policy must be evaluated in the intended engine and connected to the application’s enforcement point. OPA’s policy-testing guide illustrates why authorization examples need executable assertions beyond a visual matrix.
Alternatives and trade-offs
Section titled “Alternatives and trade-offs”Application-local checks are straightforward but can drift across endpoints. OPA, Cedar and Cerbos are policy-engine choices with their own semantics; an ACM export needs target-specific validation. SCM shows available navigation and USM supplies persona context, but neither alone defines authorization.
References
Section titled “References”- 1992 NIST paper
- OPA’s policy-testing guide
- Learning with models — choose a practice workflow and interpret its results.
Where it fits
Section titled “Where it fits”| Model | Captures | ACM uses it for |
|---|---|---|
| SCM | Screens + routes | ACM screen rows |
| DDD | Aggregates | ACM aggregate access |
| CBRL | Requirements | ACM requirement access |
| DSM | Tables | ACM data-access predicates |
| USM | Personas | ACM roles (default RBAC) |
Three-tier access
Section titled “Three-tier access”- RBAC (default) — USM personas become roles; the matrix starts green.
- ABAC — conditional predicates (
WHEN resource.owner_id == principal.id). - Aspect — aspect predicates (
WHEN @security(level: "critical")).
Every ACM rule carries one of: ALLOW, DENY, or CONDITIONAL (with a predicate).
Completion gate
Section titled “Completion gate”The matrix is a completion gate — a screen with no rule blocks recipes from shipping. ACM tracks the open gap as one of the seven weighted completeness dimensions.
File format
Section titled “File format”Stored as models/acm.json. See the acm schema page for the normative JSON Schema and committed sample files.
