Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 2.12 KB

permissions.md

File metadata and controls

37 lines (29 loc) · 2.12 KB

Education Permission Matrix

Status: Accepted design — 2026-09-14, with the module spec.

P02d-2 Step 3 implements six unrouted commands and contextual verification queries. These writers/verification queries have no HTTP endpoint or permission registration; their reachability boundary follows the Tenancy precedent, with tenant and organization derived from the execution context. Database isolation is already required for every table.

The current resource/action matrix uses the Permission Standards template:

Resource read write delete admin Registered scope Default role grants
Course — — — — None None
Lesson — — — — None None

Here — means no registered Education permission exists. This describes the current surface, not the actions or grants a later authoring decision must choose.

Surface Registration and reachability
Course and lesson seed writes P02d-2; no HTTP route and no registered permission yet
Anonymous content reads P02d-4 Step 3 implemented GET/HEAD marked reads; matching host ceiling intersected with normal filters/RLS, no permission key or grant; credentials never widen visibility
Authenticated authoring Phase 05; uses the permission infrastructure from Phase 03

The matrix gains permission keys, scopes and default-role grants with the corresponding command-surface decision, under Permission Standards, before any permission is registered. The reachability table grants no capability and introduces no permission key ahead of its decision.

The accepted P02d-2 contract names six implemented unrouted write commands and contextual verification queries; none admits unresolved context or anonymous/public invocation. The accepted access policy does not create a permission or a grant evaluator. Authenticated authoring and protected learner reads retain their Phase 05 and Phase 07 owners.