fix(next, ui): respect access of user for document locking (#9139)

This commit is contained in:
Patrik
2024-11-12 10:49:58 -05:00
committed by GitHub
parent 4f6651433c
commit 48d0faecae
4 changed files with 11 additions and 11 deletions

View File

@@ -61,7 +61,9 @@ export const handleFormStateLocking = async ({
collection: 'payload-locked-documents',
depth: 1,
limit: 1,
overrideAccess: false,
pagination: false,
req,
where: lockedDocumentQuery,
})