Access callbacks allow only on a literal true (owner's decision for 1.18.0), strictAccessAnswers: false for the old reading; the new 1.18.0 security options checked strictly at start; docs, skills, changelog

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-12-01 17:07:04 +01:00
co-authored by Claude Opus 5.5
parent d90825a396
commit c6bfb621f5
25 changed files with 1450 additions and 62 deletions
+5
View File
@@ -1067,6 +1067,11 @@ export const iapl = (options: IaplOptions): Plugin => {
config = guardConfigAccess(config)
}
// --- access callbacks read strictly (only `true` allows) unless the project asked for the old reading ---
if (options.strictAccessAnswers === false) {
config.custom = { ...config.custom, iapl: { ...(config.custom as { iapl?: object } | undefined)?.iapl, strictAccessAnswers: false } }
}
// --- lists from outside: operator sort names refused, page size capped for non-staff (audit F5, F4) ---
config = applyQueryGuard(config, { listLimit: options.listLimit, refuseOperatorSort: options.refuseOperatorSort })