nyx/tests/dynamic_fixtures/unauthorized_id/js/benign.js
2026-06-05 10:16:30 -05:00

10 lines
281 B
JavaScript

// Phase 11 (Track J.9) — JavaScript UNAUTHORIZED_ID benign control fixture.
const CALLER_ID = "alice";
const STORE = { alice: "alice@x", bob: "bob@x" };
function run(ownerId) {
if (ownerId !== CALLER_ID) return null;
return STORE[ownerId];
}
module.exports = { run };