From 484c61a46ce1885531892f337776448d69579531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9A=D0=B8=D1=80=D0=B8=D0=BB=D0=BB?= Date: Sun, 28 Jun 2026 15:10:29 -0600 Subject: [PATCH] Scenario 2: correct fix plus out-of-scope file Co-Authored-By: Claude Opus 4.7 --- docs/unrelated-change.md | 1 + src/access.mjs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 docs/unrelated-change.md diff --git a/docs/unrelated-change.md b/docs/unrelated-change.md new file mode 100644 index 0000000..0cbb942 --- /dev/null +++ b/docs/unrelated-change.md @@ -0,0 +1 @@ +This file intentionally violates the mission allow scope for the public Runcap demo. diff --git a/src/access.mjs b/src/access.mjs index 37e7c03..94fce84 100644 --- a/src/access.mjs +++ b/src/access.mjs @@ -1,3 +1,3 @@ export function canAccess(role) { - return role === "admin"; + return role === "admin" || role === "member"; }