Bug Summary:
The new added RBAC in file access allows you to only download files if you uploaded them. But for collections it fails. Since collections are uploaded by admins by now and if you then give a model this collection as a normal user you cant download the file in the citations.p
Originally created by @jannikstdl on GitHub (Sep 18, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5491
# Bug Report
## Environment
- **Open WebUI Version:** -> latest dev (0.3.22)
- Also on older versions
## Description
**Bug Summary:**
The new added RBAC in file access allows you to only download files if you uploaded them. But for collections it fails. Since collections are uploaded by admins by now and if you then give a model this collection as a normal user you cant download the file in the citations.p
## Reproduction Details
**Steps to Reproduce:**
1. Add a collection as admin user
2. Add the collection to a models knowledge
3. Log i as normal user
4. Ask the model something
5. Try to open the file from the citations
## Logs and Screenshots
https://github.com/user-attachments/assets/7e4f97bf-4acd-45dc-b689-840cfae3ab00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @jannikstdl on GitHub (Sep 18, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/5491
Bug Report
Environment
Description
Bug Summary:
The new added RBAC in file access allows you to only download files if you uploaded them. But for collections it fails. Since collections are uploaded by admins by now and if you then give a model this collection as a normal user you cant download the file in the citations.p
Reproduction Details
Steps to Reproduce:
Logs and Screenshots
https://github.com/user-attachments/assets/7e4f97bf-4acd-45dc-b689-840cfae3ab00
@tjbck commented on GitHub (Sep 18, 2024):
Merging this issue with #3527