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"; }