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:
co-authored by
Claude Opus 5.5
parent
d90825a396
commit
c6bfb621f5
@@ -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 })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user