mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
llm whitelist via api not working #1890
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 @kivi280 on GitHub (Aug 26, 2024).
Bug Report
Installation Method
docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama
Environment
Open WebUI Version: v0.3.11
Ollama (if applicable): v0.3.4
Operating System: Ubuntu 22.04.4 LTS
Confirmation:
Expected Behavior:
Users with the “user"-authorization can only access the LLMs via the API that have been added to the whitelist.
Actual Behavior:
All users can access all pulled LLMs, even those that are not in the whitelist
Description
Bug Summary:
All users can use all LLMs, even those that are not in the whitelist.
Reproduction Details
Steps to Reproduce:
as Admin:
as User:
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):





whitelisted llm:
all pulled models:
user api request body:
api response:
available llms via frontend:
@tjbck commented on GitHub (Aug 26, 2024):
Fixed on dev, testing wanted here!