I have read and followed all the instructions provided in the README.md.
I am on 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 the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
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:
add User with user role
pull two llms but only whitelist one of them
as User:
create API key
create API request with own API Key. (tested with thunder client in vs code)
Use as model the LLM which is not in the whitelist
check the response
Logs and Screenshots
Screenshots/Screen Recordings (if applicable):
whitelisted llm:
all pulled models:
user api request body:
api response:
available llms via frontend:
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:**
- [x] I have read and followed all the instructions provided in the README.md.
- [ ] I am on the latest version of both Open WebUI and Ollama.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## 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:
- add User with **user** role
- pull two llms but only whitelist one of them
as User:
- create API key
- create API request with own API Key. (tested with thunder client in vs code)
- Use as model the LLM which is not in the whitelist
- check the response
## Logs and Screenshots
**Screenshots/Screen Recordings (if applicable):**
whitelisted llm:

all pulled models:

user api request body:

api response:

available llms via frontend:

Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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!