fix(next, ui): respect access of user for document locking (#9139)
This commit is contained in:
@@ -61,7 +61,9 @@ export const handleFormStateLocking = async ({
|
||||
collection: 'payload-locked-documents',
|
||||
depth: 1,
|
||||
limit: 1,
|
||||
overrideAccess: false,
|
||||
pagination: false,
|
||||
req,
|
||||
where: lockedDocumentQuery,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user