[GH-ISSUE #5491] bug: RBAC file API #52668

Closed
opened 2026-05-05 13:46:15 -05:00 by GiteaMirror · 1 comment
Owner

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

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
Author
Owner

@tjbck commented on GitHub (Sep 18, 2024):

Merging this issue with #3527

<!-- gh-comment-id:2359622301 --> @tjbck commented on GitHub (Sep 18, 2024): Merging this issue with #3527
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#52668