mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Block client bulk upsert txn
This commit is contained in:
+1
@@ -87,6 +87,7 @@ class Create extends Action
|
||||
if (!$isAPIKey && !$isPrivilegedUser && \in_array($operation['action'], [
|
||||
'bulkCreate',
|
||||
'bulkUpdate',
|
||||
'bulkUpsert',
|
||||
'bulkDelete'
|
||||
])) {
|
||||
throw new Exception(Exception::USER_UNAUTHORIZED);
|
||||
|
||||
Reference in New Issue
Block a user