Repository navigation
[M2.3d4d] Generated route/role matrix and tenant acceptance checkpoint - #116
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
M2.3d4d: a route and role matrix generated from the registered routes, plus the tenant acceptance checkpoint for M2.3d.
testing/route-inventory.ts. Lists every registered route with its anonymous, account or tenant declaration and its bearer opt-in.app.http.spec.tsnow uses it.testing/tenant-personas.ts. The 11 actors of the tenant fixture (owner, admin, member, project and environment admin, developer and viewer, the narrowedrestrictedAdmin, outsider) are expressed as domain memberships. The fixture gains a sessionposthelper.route-role-matrix.spec.ts(unit, no database):permission@scopemust appear in an independent copy of the SPEC 7 table. The domain policy's decision must match it for every actor. A new route with an unreviewed pair fails.docs/generated/route-role-matrix.mdand fails on any difference. Reviewers see access changes as a document diff. Prettier ignores the file because it is generated.route-role-matrix.integration.spec.ts:How it was tested
Security considerations