mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-11-11 13:51:01 +08:00
Fixes #19356 The file-commit endpoints resolved a dataset or folder id but never checked that the caller can access it. Any logged-in user could read another tenant's commit history, diffs, and file contents, pull version history for any file id, and create commits in a workspace they don't own. Sibling artifact routes in dataset_api.py apply KnowledgebaseService.accessible for the same data; these did not.