356 lines
22 KiB
JavaScript
356 lines
22 KiB
JavaScript
"use strict";
|
|
|
|
const test = require("node:test");
|
|
const assert = require("node:assert/strict");
|
|
const { accountActionScope, requireAccountActionTarget, setAccountPermissions, changeAccountAccess, setAccountAgentAccess, setAccountSuspension } = require("../services/account-actions");
|
|
const { createProvisionedAccount, resetAccountPassword, resetAccountTwoFactor, resetAccountRecoveryCodes } = require("../services/account-credentials");
|
|
|
|
test("frontend token refresh preserves the selected row and refuses replacement identities", () => {
|
|
const fs = require("node:fs");
|
|
const vm = require("node:vm");
|
|
const sandbox = { window: {} };
|
|
vm.runInNewContext(fs.readFileSync(require.resolve("../public/js/settings-account-targets.js"), "utf8"), sandbox);
|
|
const registry = sandbox.window.ADPanelAccountTargets;
|
|
registry.update([{ id: 42, email: "target@example.test" }]);
|
|
const target = registry.select("TARGET@example.test");
|
|
assert.equal(registry.payload(target, {}).expectedTargetId, 42);
|
|
registry.update([{ id: 42, email: "target@example.test" }]);
|
|
assert.equal(registry.payload(target, {}).expectedTargetId, 42);
|
|
registry.update([{ id: 43, email: "target@example.test" }]);
|
|
assert.throws(() => registry.payload(target, { currentPassword: "valid" }), /Account state changed/);
|
|
});
|
|
|
|
test("account scope and request identity reject a recreated email", () => {
|
|
assert.equal(accountActionScope({ id: 42 }), "user-id:42");
|
|
assert.notEqual(accountActionScope({ id: 42 }), accountActionScope({ id: 43 }));
|
|
const response = { status(code) { this.code = code; return this; }, json(body) { this.body = body; } };
|
|
assert.equal(requireAccountActionTarget({ body: { expectedTargetId: 42 } }, response, { id: 43 }), false);
|
|
assert.equal(response.code, 409);
|
|
assert.equal(requireAccountActionTarget({ body: { expectedTargetId: 42 } }, response, { id: 42 }), true);
|
|
});
|
|
|
|
test("permission reads need no mutation identity and grants reject a stale selected account before step-up", async () => {
|
|
const fs = require("node:fs");
|
|
const vm = require("node:vm");
|
|
const source = fs.readFileSync(require.resolve("../index.js"), "utf8");
|
|
const routes = new Map();
|
|
let stepUps = 0;
|
|
const target = { id: 43, email: "target@example.test", admin: false };
|
|
const sandbox = {
|
|
app: { get: (url, ...handlers) => routes.set(url, handlers.at(-1)), post: (url, ...handlers) => routes.set(url, handlers.at(-1)) },
|
|
...require("../services/account-actions"),
|
|
sessionRevoke2faRateLimiter() {}, isAdmin: async () => true, requireActionTokenOr403: async () => true,
|
|
findUserByEmail: async () => target, withTimeout: async (promise) => promise,
|
|
loadServersIndex: async () => [{ name: "one", acl: { [target.email]: { files_read: true } } }],
|
|
ALLOWED_PERM_KEYS: ["files_read"], requireDestructiveActionStepUp: async () => { stepUps += 1; return { ok: true }; }
|
|
};
|
|
for (const marker of ['app.get("/api/settings/accounts/:email/perms",', 'app.post("/api/settings/accounts/:email/grant-perms",']) {
|
|
const start = source.indexOf(marker);
|
|
vm.runInNewContext(source.slice(start, source.indexOf("\n});", start) + 5), sandbox);
|
|
}
|
|
const response = () => ({ statusCode: 200, status(code) { this.statusCode = code; return this; }, set() {}, json(body) { this.body = body; return this; } });
|
|
const read = response();
|
|
await routes.get("/api/settings/accounts/:email/perms")({ params: { email: target.email }, query: { server: "one" } }, read, (error) => { throw error; });
|
|
assert.equal(read.body.permissions.files_read, true);
|
|
const grant = response();
|
|
await routes.get("/api/settings/accounts/:email/grant-perms")({ session: { user: "admin@example.test" }, params: { email: target.email }, body: { expectedTargetId: 42, server: "one", permissions: {} }, is: () => true }, grant, (error) => { throw error; });
|
|
assert.equal(grant.statusCode, 409);
|
|
assert.equal(stepUps, 0);
|
|
});
|
|
|
|
function harness({ failAccess = false, deleting = false, unchanged = false, actorEpoch = 11 } = {}) {
|
|
const queries = [];
|
|
let committed = false;
|
|
let rolledBack = false;
|
|
const connection = {
|
|
beginTransaction: async () => {}, commit: async () => { committed = true; }, rollback: async () => { rolledBack = true; }, release() {},
|
|
execute: async (sql, params) => {
|
|
queries.push({ sql, params });
|
|
if (sql.startsWith("SELECT id, admin")) return [[{ id: 7, admin: 1, suspended: 0, session_epoch: actorEpoch }]];
|
|
if (sql.startsWith("SELECT id, email")) return [[{ id: 42, email: "target@example.test", admin: 0, session_epoch: 3 }]];
|
|
if (sql.startsWith("SELECT id, name, status")) return [[{ id: 1, name: "one", status: deleting ? "deleting" : "running", acl: '{"other@example.test":{"files_read":true}}' }]];
|
|
if (sql.startsWith("INSERT IGNORE") && failAccess) throw new Error("access write failed");
|
|
if (sql.startsWith("UPDATE users") && unchanged) return [{ affectedRows: 0 }];
|
|
return [{ affectedRows: 1 }];
|
|
}
|
|
};
|
|
return { db: { pool: { getConnection: async () => connection } }, queries, outcome: () => ({ committed, rolledBack }) };
|
|
}
|
|
|
|
test("account writes reject an administrator whose verified credential generation changed", async () => {
|
|
const state = harness({ actorEpoch: 12 });
|
|
const result = await setAccountAgentAccess(state.db, { id: 7, session_epoch: 11 }, { id: 42, email: "target@example.test" }, true);
|
|
assert.equal(result.ok, false);
|
|
assert.equal(result.reason, "actor");
|
|
assert.equal(state.queries.some((query) => query.sql.startsWith("UPDATE")), false);
|
|
assert.deepEqual(state.outcome(), { committed: false, rolledBack: true });
|
|
});
|
|
|
|
test("creation and every privileged credential reset reject a revoked actor before writing", async () => {
|
|
const target = { id: 42, email: "target@example.test" };
|
|
for (const actor of [{ id: 8, session_epoch: 11 }, { id: 7, session_epoch: 12 }, { id: 7 }]) {
|
|
for (const operation of [
|
|
(db) => createProvisionedAccount(db, actor, { email: "new@example.test", passwordHash: "hash", admin: true, avatarUrl: "avatar" }),
|
|
(db) => resetAccountPassword(db, target, "hash", actor),
|
|
(db) => resetAccountTwoFactor(db, target, actor),
|
|
(db) => resetAccountRecoveryCodes(db, target, "[]", actor)
|
|
]) {
|
|
const state = harness();
|
|
const result = await operation(state.db);
|
|
assert.equal(typeof result === "boolean" ? result : result.ok, false);
|
|
assert.equal(state.queries.some((query) => /^(UPDATE|INSERT)/.test(query.sql)), false);
|
|
assert.deepEqual(state.outcome(), { committed: false, rolledBack: true });
|
|
}
|
|
}
|
|
});
|
|
|
|
test("provisioning and credential overrides still commit for a current administrator", async () => {
|
|
const actor = { id: 7, session_epoch: 11 };
|
|
const target = { id: 42, email: "target@example.test", session_epoch: 3 };
|
|
for (const operation of [
|
|
(db) => createProvisionedAccount(db, actor, { email: "new@example.test", passwordHash: "hash", admin: true, avatarUrl: "avatar" }),
|
|
(db) => resetAccountPassword(db, target, "hash", actor),
|
|
(db) => resetAccountTwoFactor(db, target, actor),
|
|
(db) => resetAccountRecoveryCodes(db, target, "[]", actor)
|
|
]) {
|
|
const state = harness();
|
|
const result = await operation(state.db);
|
|
assert.equal(typeof result === "boolean" ? result : result.ok, true);
|
|
assert.deepEqual(state.outcome(), { committed: true, rolledBack: false });
|
|
}
|
|
});
|
|
|
|
test("admin 2FA reset atomically revokes old recovery codes before a fresh session can verify them", async () => {
|
|
const fs = require("node:fs");
|
|
const vm = require("node:vm");
|
|
const { attachAccountTransaction } = require("./helpers/account-transaction");
|
|
const actor = { id: 7, email: "admin@example.test", admin: 1, suspended: 0, session_epoch: 11 };
|
|
const oldRecoveryCodes = JSON.stringify(["synthetic-recovery-hash"]);
|
|
const target = { id: 42, email: "target@example.test", admin: 0, secret: "old-secret", session_epoch: 3, recovery_codes: oldRecoveryCodes };
|
|
const writes = [];
|
|
let comparisons = 0;
|
|
const db = attachAccountTransaction({ query: async (sql, params) => {
|
|
if (sql.startsWith("UPDATE users SET secret = NULL")) {
|
|
writes.push({ sql, params });
|
|
target.secret = null;
|
|
target.session_epoch = params[0];
|
|
if (sql.includes("recovery_codes = NULL")) target.recovery_codes = null;
|
|
return { affectedRows: 1 };
|
|
}
|
|
if (sql.startsWith("SELECT id, recovery_codes") || sql.startsWith("SELECT recovery_codes FROM users WHERE id = ?")) return [{ id: target.id, recovery_codes: target.recovery_codes }];
|
|
throw new Error(`Unexpected query: ${sql}`);
|
|
} }, { actor, target });
|
|
assert.equal(await resetAccountTwoFactor(db, { ...target }, actor), true);
|
|
assert.equal(writes.length, 1);
|
|
assert.equal(writes[0].sql, "UPDATE users SET secret = NULL, recovery_codes = NULL, session_epoch = ? WHERE id = ?");
|
|
assert.equal(writes[0].params[1], target.id);
|
|
assert.equal(target.secret, null);
|
|
assert.equal(target.recovery_codes, null);
|
|
assert.notEqual(target.session_epoch, 3);
|
|
|
|
const source = fs.readFileSync(require.resolve("../index.js"), "utf8");
|
|
const start = source.indexOf('app.post("/api/account/recovery/verify",');
|
|
const claimStart = source.indexOf("async function claimRecoveryCode(");
|
|
assert.ok(start >= 0);
|
|
assert.ok(claimStart >= 0 && claimStart < start);
|
|
let handler;
|
|
const sandbox = {
|
|
app: { post: (_url, ...handlers) => { handler = handlers.at(-1); } },
|
|
recoveryRateLimiter() {}, findUserByEmail: async () => ({ ...target }), db,
|
|
bcrypt: { compare: async () => { comparisons += 1; return true; } },
|
|
console: { log() {}, error() {} }
|
|
};
|
|
vm.runInNewContext(source.slice(claimStart, start), sandbox);
|
|
const oldProofClaim = await sandbox.claimRecoveryCode({ ...target }, "synthetic-recovery-hash");
|
|
assert.equal(oldProofClaim.ok, false);
|
|
assert.equal(writes.length, 1);
|
|
vm.runInNewContext(source.slice(start, source.indexOf("\n});", start) + 5), sandbox);
|
|
const req = { session: { user: target.email, accountId: target.id, accountEpoch: target.session_epoch }, body: { recoveryCode: "ABCD2345" } };
|
|
const res = { statusCode: 200, status(code) { this.statusCode = code; return this; }, json(body) { this.body = body; return this; } };
|
|
await handler(req, res);
|
|
assert.equal(res.statusCode, 403);
|
|
assert.equal(req.session.recoveryVerified, undefined);
|
|
assert.equal(comparisons, 0);
|
|
});
|
|
|
|
test("the real provisioning handler cannot create an account after actor revocation during hashing", async () => {
|
|
const fs = require("node:fs");
|
|
const vm = require("node:vm");
|
|
const source = fs.readFileSync(require.resolve("../index.js"), "utf8");
|
|
const marker = 'app.post("/api/admin/user/create",';
|
|
const start = source.indexOf(marker);
|
|
for (const role of ["admin", "user"]) {
|
|
const state = harness({ actorEpoch: 12 });
|
|
let handler;
|
|
let hashed = false;
|
|
const actor = { id: 7, email: "admin@example.test", admin: true, session_epoch: 11 };
|
|
const sandbox = {
|
|
app: { post: (_url, ...handlers) => { handler = handlers.at(-1); } },
|
|
adminUserCreateAccountRateLimiter() {}, adminUserCreateIpRateLimiter() {},
|
|
getLoggedInUser: async () => actor, isAdmin: async () => true, requireActionTokenOr403: async () => true,
|
|
normalizeProvisionedAccountRole: (value) => value, normalizeProvisionedEmail: (value) => value,
|
|
getProvisionedPasswordError: () => "", verifyAdminProvisioningStepUp: async () => "",
|
|
findUserByEmail: async () => null, withTimeout: async (promise) => promise,
|
|
bcrypt: { hash: async () => { hashed = true; return "hash"; } }, BCRYPT_ROUNDS: 4,
|
|
parseBoolean: (_value, fallback) => fallback, ADMIN_AVATAR_URL: "avatar", getDefaultUserAvatar: () => "avatar",
|
|
db: state.db, createProvisionedAccount, STALE_TARGET_409_MESSAGE: "stale actor", console: { error() {} }
|
|
};
|
|
vm.runInNewContext(source.slice(start, source.indexOf("\n});", start) + 5), sandbox);
|
|
const res = { statusCode: 200, status(code) { this.statusCode = code; return this; }, json(body) { this.body = body; return this; } };
|
|
await handler({ session: { user: actor.email }, is: () => true, body: { role, email: "new@example.test", password: "synthetic-password" } }, res);
|
|
assert.equal(hashed, true);
|
|
assert.equal(res.statusCode, 409);
|
|
assert.equal(state.queries.some((query) => query.sql.startsWith("INSERT")), false);
|
|
}
|
|
});
|
|
|
|
test("all Accounts mutation routes refuse a stale selected user ID before step-up or mutation", async () => {
|
|
const fs = require("node:fs");
|
|
const vm = require("node:vm");
|
|
const source = fs.readFileSync(require.resolve("../index.js"), "utf8");
|
|
for (const [method, url] of [
|
|
...["add", "remove", "agent-access", "grant-perms", "suspension", "change-password"].map((action) => ["post", `/api/settings/accounts/:email/${action}`]),
|
|
["delete", "/api/settings/accounts/:email"],
|
|
["post", "/api/admin/user/reset-recovery-codes"]
|
|
]) {
|
|
let handler;
|
|
const target = { id: 43, email: "target@example.test", admin: false };
|
|
const sandbox = {
|
|
app: { [method]: (_url, ...handlers) => { handler = handlers.at(-1); } },
|
|
...require("../services/account-actions"),
|
|
sessionRevoke2faRateLimiter() {}, isAdmin: async () => true, requireActionTokenOr403: async () => true,
|
|
findUserByEmail: async (email) => email === "admin@example.test" ? { id: 7, admin: true, email } : target,
|
|
normalizeAdminTargetEmail: (email) => email,
|
|
requireDestructiveActionStepUp: async () => { throw new Error("stale target reached step-up"); },
|
|
console: { error() {} }
|
|
};
|
|
const start = source.indexOf(`app.${method}("${url}",`);
|
|
assert(start >= 0, url);
|
|
vm.runInNewContext(source.slice(start, source.indexOf("\n});", start) + 5), sandbox);
|
|
const response = { statusCode: 200, status(code) { this.statusCode = code; return this; }, set() {}, json(body) { this.body = body; return this; } };
|
|
await handler({ session: { user: "admin@example.test" }, params: { email: target.email }, body: { email: target.email, expectedTargetId: 42, server: "all", suspended: true, newPassword: "valid-password", confirm: "valid-password" }, is: () => true }, response, (error) => { throw error; });
|
|
assert.equal(response.statusCode, 409, url);
|
|
assert.equal(response.body.code, "account-target-changed", url);
|
|
}
|
|
});
|
|
|
|
test("permission changes write only the locked server and preserve other accounts", async () => {
|
|
const state = harness();
|
|
assert.equal((await setAccountPermissions(state.db, { id: 7, session_epoch: 11 }, { id: 42, email: "target@example.test" }, "one", { files_read: false }, 1)).ok, true);
|
|
const write = state.queries.find((query) => query.sql.startsWith("UPDATE servers"));
|
|
assert.deepEqual(JSON.parse(write.params[0]), { "other@example.test": { files_read: true }, "target@example.test": { files_read: false } });
|
|
assert.equal(state.queries.some((query) => /DELETE FROM servers|INSERT INTO servers/.test(query.sql)), false);
|
|
assert.deepEqual(state.outcome(), { committed: true, rolledBack: false });
|
|
});
|
|
|
|
test("access failure rolls back the permission transaction and deleting targets are refused", async () => {
|
|
const failed = harness({ failAccess: true });
|
|
await assert.rejects(setAccountPermissions(failed.db, { id: 7, session_epoch: 11 }, { id: 42, email: "target@example.test" }, "one", {}, 1), /access write failed/);
|
|
assert.deepEqual(failed.outcome(), { committed: false, rolledBack: true });
|
|
const deleting = harness({ deleting: true });
|
|
assert.equal((await setAccountPermissions(deleting.db, { id: 7, session_epoch: 11 }, { id: 42, email: "target@example.test" }, "one", {}, 1)).reason, "server");
|
|
assert.equal(deleting.queries.some((query) => query.sql.startsWith("UPDATE")), false);
|
|
});
|
|
|
|
test("replacement server rows are refused and unchanged flag setters succeed", async () => {
|
|
const replacement = harness();
|
|
assert.equal((await setAccountPermissions(replacement.db, { id: 7, session_epoch: 11 }, { id: 42, email: "target@example.test" }, "one", {}, 2)).reason, "server");
|
|
assert.equal((await changeAccountAccess(replacement.db, { id: 7, session_epoch: 11 }, { id: 42, email: "target@example.test" }, "one", true, 2)).reason, "server");
|
|
assert.equal(replacement.queries.some((query) => query.sql.startsWith("UPDATE")), false);
|
|
for (const operation of [
|
|
(db) => setAccountAgentAccess(db, { id: 7, session_epoch: 11 }, { id: 42, email: "target@example.test" }, false),
|
|
(db) => setAccountSuspension(db, { id: 7, session_epoch: 11 }, { id: 42, email: "target@example.test" }, false, null, null)
|
|
]) {
|
|
const state = harness({ unchanged: true });
|
|
assert.equal((await operation(state.db)).ok, true);
|
|
assert.equal(state.outcome().committed, true);
|
|
}
|
|
});
|
|
|
|
test("suspension atomically revokes missed sessions and unsuspension never restores them", async () => {
|
|
const { sessionAccountBindingMismatch } = require("../utils/session-account-binding");
|
|
const actor = { id: 7, session_epoch: 11 };
|
|
const target = { id: 42, email: "target@example.test" };
|
|
const oldSession = { user: target.email, accountId: target.id, accountEpoch: 3 };
|
|
const state = harness();
|
|
assert.equal((await setAccountSuspension(state.db, actor, target, true, 1, "admin@example.test")).ok, true);
|
|
const write = state.queries.find((query) => query.sql.startsWith("UPDATE users SET suspended"));
|
|
assert.match(write.sql, /suspended_by = \?, session_epoch = \? WHERE id = \? AND admin = 0/);
|
|
assert.deepEqual(write.params.slice(0, 3), [1, 1, "admin@example.test"]);
|
|
assert.equal(write.params[4], target.id);
|
|
assert.equal(Number.isSafeInteger(write.params[3]), true);
|
|
assert.equal(write.params[3] > 0, true);
|
|
assert.notEqual(write.params[3], oldSession.accountEpoch);
|
|
assert.equal(sessionAccountBindingMismatch(oldSession, { ...target, suspended: false, session_epoch: write.params[3] }), true);
|
|
assert.deepEqual(state.outcome(), { committed: true, rolledBack: false });
|
|
|
|
const unsuspendState = harness({ unchanged: true });
|
|
assert.equal((await setAccountSuspension(unsuspendState.db, actor, target, false, null, null)).ok, true);
|
|
const unsuspendWrite = unsuspendState.queries.find((query) => query.sql.startsWith("UPDATE users SET suspended"));
|
|
assert.deepEqual(unsuspendWrite.params, [0, null, null, 3, target.id]);
|
|
});
|
|
|
|
test("repeated suspension advances the locked live epoch and a revoked actor writes nothing", async () => {
|
|
const { sessionAccountBindingMismatch } = require("../utils/session-account-binding");
|
|
const actor = { id: 7, session_epoch: 11 };
|
|
const target = { id: 42, email: "target@example.test" };
|
|
const oldSession = { user: target.email, accountId: target.id, accountEpoch: 3 };
|
|
let liveEpoch = 3;
|
|
const writes = [];
|
|
const connection = {
|
|
beginTransaction: async () => {}, commit: async () => {}, rollback: async () => {}, release() {},
|
|
execute: async (sql, params) => {
|
|
if (sql.startsWith("SELECT id, admin")) return [[{ id: actor.id, admin: 1, suspended: 0, session_epoch: actor.session_epoch }]];
|
|
if (sql.startsWith("SELECT id, email")) return [[{ ...target, admin: 0, session_epoch: liveEpoch }]];
|
|
assert.match(sql, /^UPDATE users SET suspended/);
|
|
if (params[0]) assert.notEqual(params[3], liveEpoch);
|
|
else assert.equal(params[3], liveEpoch);
|
|
liveEpoch = params[3];
|
|
writes.push(liveEpoch);
|
|
return [{ affectedRows: 1 }];
|
|
}
|
|
};
|
|
const db = { pool: { getConnection: async () => connection } };
|
|
assert.equal((await setAccountSuspension(db, actor, target, true, 1, "admin@example.test")).ok, true);
|
|
assert.equal((await setAccountSuspension(db, actor, target, true, 2, "admin@example.test")).ok, true);
|
|
assert.notEqual(writes[0], writes[1]);
|
|
assert.equal((await setAccountSuspension(db, actor, target, false, null, null)).ok, true);
|
|
assert.equal(writes[1], writes[2], "unsuspension cannot restore the pre-suspension generation");
|
|
assert.equal(sessionAccountBindingMismatch(oldSession, { ...target, suspended: false, session_epoch: liveEpoch }), true);
|
|
assert.equal(sessionAccountBindingMismatch({ ...oldSession, accountEpoch: liveEpoch }, { ...target, session_epoch: liveEpoch }), false, "a new login can bind to the post-suspension generation");
|
|
|
|
const revoked = harness({ actorEpoch: 12 });
|
|
assert.equal((await setAccountSuspension(revoked.db, actor, target, true, 1, "admin@example.test")).ok, false);
|
|
assert.equal(revoked.queries.some((query) => query.sql.startsWith("UPDATE")), false);
|
|
assert.deepEqual(revoked.outcome(), { committed: false, rolledBack: true });
|
|
});
|
|
|
|
test("two independent permission transactions preserve unrelated revocations", async () => {
|
|
let acl = { "first@example.test": { console_write: true } };
|
|
let chain = Promise.resolve();
|
|
const db = { pool: { getConnection: async () => {
|
|
let release;
|
|
return {
|
|
beginTransaction: async () => {},
|
|
commit: async () => release(), rollback: async () => release?.(), release() {},
|
|
execute: async (sql, params) => {
|
|
if (sql.startsWith("SELECT id, admin")) {
|
|
const previous = chain;
|
|
chain = new Promise((resolve) => { release = resolve; });
|
|
await previous;
|
|
return [[{ id: 7, admin: 1, suspended: 0, session_epoch: 11 }]];
|
|
}
|
|
if (sql.startsWith("SELECT id, email")) return [[{ id: params[0], email: params[0] === 42 ? "first@example.test" : "second@example.test", admin: 0 }]];
|
|
if (sql.startsWith("SELECT id, name")) return [[{ id: 1, name: "one", acl: JSON.stringify(acl) }]];
|
|
if (sql.startsWith("UPDATE servers")) acl = JSON.parse(params[0]);
|
|
return [{ affectedRows: 1 }];
|
|
}
|
|
};
|
|
} } };
|
|
const outcomes = await Promise.all([
|
|
setAccountPermissions(db, { id: 7, session_epoch: 11 }, { id: 42, email: "first@example.test" }, "one", { console_write: false }, 1),
|
|
setAccountPermissions(db, { id: 7, session_epoch: 11 }, { id: 43, email: "second@example.test" }, "one", { console_write: true }, 1)
|
|
]);
|
|
assert(outcomes.every((outcome) => outcome.ok));
|
|
assert.deepEqual(acl, { "first@example.test": { console_write: false }, "second@example.test": { console_write: true } });
|
|
}); |