UNDERSTAND
Bring these concepts with you
BUILD
Your implementation
- Implement auditAuthorizationMatrix(policyFn, cases) executing allow/deny expectations.
- Test owner, same-org peer, cross-org support, and same-org support roles.
- Return { passed, total, failures } naming every violated case.
export function auditAuthorizationMatrix(policyFn, cases) {
// Evaluate each policy test case and collect any allow/deny mismatches.
}Need a hint?
- Test cross-tenant staff/admin roles explicitly—missing tenant predicates are a frequent vulnerability.
- Compare Boolean(policyFn(...)) against c.expectedAllow.
Saved on this device · 0 / 6000 · Do not include passwords or private data.
VERIFY
Acceptance checks
From the folder containing your downloaded files, run:
node checks.mjs ./starter.mjs 4This runs checks up to this step. Earlier steps must work first. Mark each result only after checking your implementation; the website does not run or grade it.
Record your attempt to enable the checklist and reference comparison.
Compare with the reference
Attempt the step first, then compare decisions and behavior. There can be more than one correct implementation.
EXPLAIN
Your interviewer asks
How does missing an organizationId check differ from a missing login check?
Say your answer aloud, then record the trade-offs and evidence in your notes above.
LOCAL VOICE REHEARSAL
Rehearse your step walkthrough aloud
00:00/ 02:00