mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #22133] issue: No file access for workspace model shared to user #35166
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ithanil on GitHub (Mar 2, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22133
Originally assigned to: @Classic298 on GitHub.
Check Existing Issues
Installation Method
Other
Open WebUI Version
0.8.7
Ollama Version (if applicable)
No response
Operating System
Debian 13
Browser (if applicable)
Firefox/Chromium
Confirmation
README.md.Expected Behavior
When uploading files to a workspace model as knowledge and then sharing that model to other users, the query_knowledge tool should work for them and if they have write access, they should be able to inspect the files.
Actual Behavior
For users that got the model shared, query_knowledge doesn't return and if they inspect the knowledge files, they have no content / preview can't be loaded.
For admins or the owner of the model it works fine.
Steps to Reproduce
Logs & Screenshots
Likely relevant logs:
Additional Information
No response
@Ithanil commented on GitHub (Mar 2, 2026):
Potential quick fix to be tested:
@Classic298 commented on GitHub (Mar 2, 2026):
will take a look here
@Classic298 commented on GitHub (Mar 2, 2026):
might be fixed by https://github.com/open-webui/open-webui/pull/22151
testing wanted
@Ithanil commented on GitHub (Mar 2, 2026):
hey! your model just copied my models code :-D
@Classic298 commented on GitHub (Mar 2, 2026):
my model said your model's code is acceptable
@Ithanil commented on GitHub (Mar 2, 2026):
Haha, that's fair. Personally, I would say though that adding a function
_has_access_to_file_via_shared_modelviolates the style of the surrounding code.But logic-wise I think this is the correct fix. Will test tomorrow and report.
@Classic298 commented on GitHub (Mar 2, 2026):
good feedback. made small changes
@Classic298 commented on GitHub (Mar 2, 2026):
PR merged