Security audit fixes for 1.18.0: Markdown negotiation private + Vary: Accept (F3), public lists capped (F4), operator sort names refused (F5), CSP report log normalised and capped (F1), buildUrlField and the reference socials (F2), document locks for staff only
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d2f19095dc
commit
e9f9947eb7
@@ -114,9 +114,8 @@ export const DOORS: Door[] = [
|
||||
{
|
||||
closedFor: ['anonymous'],
|
||||
name: 'who edits what (Payload\'s document locks, with the editor\'s account)',
|
||||
// Payload's own collection: the plugin-wide default for it is the owner's Q3 answer (a), recorded for 2.0; the doctor's
|
||||
// `visitor-writes` rule lists it on a site with a visitor login collection
|
||||
openFor: { callers: ['customer'], question: 'Q3 (a), 2.0: payload-locked-documents runs on Payload\'s default (any signed-in account)' },
|
||||
// Payload's own collection: staff only since 1.18.0 (iapl `lockedDocuments`, the owner's Q3 answer (a)); Payload's
|
||||
// default let any signed-in account in
|
||||
path: '/api/payload-locked-documents',
|
||||
closed: forbidden,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user