Skip to content

issue: No file access for workspace model shared to user #22133

@Ithanil

Description

@Ithanil

Check Existing Issues

  • I have searched for any existing and/or related issues.
  • I have searched for any existing and/or related discussions.
  • I have also searched in the CLOSED issues AND CLOSED discussions and found no related items (your issue might already be addressed on the development branch!).
  • I am using the latest version of Open WebUI.

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

  • I have read and followed all instructions in README.md.
  • I am using the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • I have included the Docker container logs.
  • I have provided every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

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

  1. Create workspace model
  2. Upload some files
  3. Make sure knowledge tool + native tool calling is enabled
  4. Share the model to other users (individually)
  5. Observe abovementioned "Actual Behavior".

Logs & Screenshots

Likely relevant logs:

2026-03-02 11:25:02.041 | DEBUG    | open_webui.utils.access_control.files:has_access_to_file:31 - Checking if user has read access to file
2026-03-02 11:25:02.066 | INFO     | uvicorn.protocols.http.httptools_impl:send:483 - 1.2.3.4:0 - "GET /api/v1/files/0d193573-acee-4f2d-9353-ccbd6d9333c8/content HTTP/1.1" 404
Image Image Image

Additional Information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions