docs(api/repositories/api_workflow_node_execution_repository.py): Add note on tenant isolation responsibility

Signed-off-by: -LAN- <laipz8200@outlook.com>
pull/22581/head
-LAN- 10 months ago
parent 3aa85c7f4a
commit 8a6d783dfb
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF

@ -184,6 +184,10 @@ class DifyAPIWorkflowNodeExecutionRepository(WorkflowNodeExecutionRepository, Pr
This method deletes specific executions by their IDs,
typically used after backing up the data.
This method does not perform tenant isolation checks. The caller is responsible for ensuring proper
data isolation between tenants. When execution IDs come from untrusted sources (e.g., API requests),
additional tenant validation should be implemented to prevent unauthorized access.
Args:
execution_ids: List of execution IDs to delete

Loading…
Cancel
Save