mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[GH-ISSUE #15807] issue: Bypassing model access control results in error when selecting task model. #104676
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 @MicahZoltu on GitHub (Jul 17, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15807
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.16
Ollama Version (if applicable)
v0.9.3
Operating System
Windows 11, WSL2, Ubuntu 22
Browser (if applicable)
Firefox
Confirmation
README.md.Expected Behavior
I can use any model as a task model when
BYPASS_MODEL_ACCESS_CONTROL: 'True'is set.Actual Behavior
I have to explicitly set models to public to use them as task models, even though I have
BYPASS_MODEL_ACCESS_CONTROL: 'True'set.Steps to Reproduce
Logs & Screenshots
N/A
Additional Information
Workaround:
If I manually set the model to public, the error goes away, but I shouldn't need to do this since I have already configured OWUI to have all models be public.
@rgaricano commented on GitHub (Jul 17, 2025):
If you want to patch the code and enable workspace model for tasks until a solution:
replace lines:
2470da8336/src/lib/components/admin/Settings/Interface.svelte (L153)&
2470da8336/src/lib/components/admin/Settings/Interface.svelte (L188)with
if ((model?.access_control !== null) & ($user?.role !== "admin")) {then rebuild (in console in open-webui main dir):
NODE_OPTIONS=--max_old_space_size=12000 npm run buildand restart open-webui.
(tested)
@tjbck commented on GitHub (Aug 4, 2025):
Unable to reproduce, works as intended with the latest dev.