Originally created by @lowlyocean on GitHub (Jul 23, 2025).
Check Existing Issues
I have searched the existing issues and discussions.
I am using the latest version of Open WebUI.
Installation Method
Docker
Open WebUI Version
0.6.18
Ollama Version (if applicable)
No response
Operating System
docker
Browser (if applicable)
No response
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
No chat should be saved for the user, when the Enforce Temporary Chat is toggled On and the USER_PERMISSIONS_CHAT_TEMPORARY_ENFORCED environment variable is set to true
Actual Behavior
All chats for that user are being saved, instead of being temporary
Steps to Reproduce
Enforce Temporary Chat is toggled On and the USER_PERMISSIONS_CHAT_TEMPORARY_ENFORCED environment variable is set to true
Login and notice that you're not in a temporary chat. Any time you hit "new chat", you're also not in a temporary chat
Logs & Screenshots
Additional Information
No response
Originally created by @lowlyocean on GitHub (Jul 23, 2025).
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
- [x] I am using the latest version of Open WebUI.
### Installation Method
Docker
### Open WebUI Version
0.6.18
### Ollama Version (if applicable)
_No response_
### Operating System
docker
### Browser (if applicable)
_No response_
### Confirmation
- [x] I have read and followed all instructions in `README.md`.
- [x] I am using the latest version of **both** Open WebUI and Ollama.
- [x] I have included the browser console logs.
- [x] I have included the Docker container logs.
- [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.**
- [x] 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).
- [x] 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
No chat should be saved for the user, when the Enforce Temporary Chat is toggled On and the USER_PERMISSIONS_CHAT_TEMPORARY_ENFORCED environment variable is set to true
### Actual Behavior
All chats for that user are being saved, instead of being temporary
### Steps to Reproduce
1) Enforce Temporary Chat is toggled On and the USER_PERMISSIONS_CHAT_TEMPORARY_ENFORCED environment variable is set to true
2) Login and notice that you're not in a temporary chat. Any time you hit "new chat", you're also not in a temporary chat
### Logs & Screenshots
<img width="485" height="65" alt="Image" src="https://github.com/user-attachments/assets/a50fb9a4-1cd8-4a2a-8f4d-054e4a18d534" />
### Additional Information
_No response_
GiteaMirror
added the bug label 2025-11-11 16:35:42 -06:00
Did you delete the cache?
Did you set this setting for all users or just a specific user group?
If the latter, ensure the user is in that group.
Did you test from a (test) user's account or admin?
Need more specific steps to reproduce.
@Classic298 commented on GitHub (Jul 23, 2025):
Did you delete the cache?
Did you set this setting for all users or just a specific user group?
If the latter, ensure the user is in that group.
Did you test from a (test) user's account or admin?
Need more specific steps to reproduce.
Just tried again making sure to refresh with browser cache disabled.
I'm applying to specific user group, AND it's also the default for new users with "user" role.
I put all users into this specific user group.
The user I'm trying as admin, but since the admin is in that group, it should behave as expected.
@lowlyocean commented on GitHub (Jul 23, 2025):
Just tried again making sure to refresh with browser cache disabled.
I'm applying to specific user group, AND it's also the default for new users with "user" role.
I put all users into this specific user group.
The user I'm trying as admin, but since the admin is in that group, it should behave as expected.
Something changed here in recent versions, it seems. Previously, I was able to disable temporary chats even as Admin without needing to pass URL parameter explicitly
@lowlyocean commented on GitHub (Jul 23, 2025):
Something changed here in recent versions, it seems. Previously, I was able to disable temporary chats even as Admin without needing to pass URL parameter explicitly
What is the recommended way to have Admin have temporary chats by default? Bookmarking with the URL parameter is the only way? That doesn't get preserved between expired login sessions. Does a redundant non-admin user account need to be created (i.e. need to have a 2nd email account)?
@lowlyocean commented on GitHub (Jul 24, 2025):
What is the recommended way to have Admin have temporary chats by default? Bookmarking with the URL parameter is the only way? That doesn't get preserved between expired login sessions. Does a redundant non-admin user account need to be created (i.e. need to have a 2nd email account)?
URL parameter "temporary-chat" it's just the same that the switch temporary chat in models dropdown list!
@rgaricano commented on GitHub (Jul 24, 2025):
URL parameter "temporary-chat" it's just the same that the switch temporary chat in models dropdown list!
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 @lowlyocean on GitHub (Jul 23, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.18
Ollama Version (if applicable)
No response
Operating System
docker
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
No chat should be saved for the user, when the Enforce Temporary Chat is toggled On and the USER_PERMISSIONS_CHAT_TEMPORARY_ENFORCED environment variable is set to true
Actual Behavior
All chats for that user are being saved, instead of being temporary
Steps to Reproduce
Logs & Screenshots
Additional Information
No response
@Classic298 commented on GitHub (Jul 23, 2025):
Did you delete the cache?
Did you set this setting for all users or just a specific user group?
If the latter, ensure the user is in that group.
Did you test from a (test) user's account or admin?
Need more specific steps to reproduce.
@lowlyocean commented on GitHub (Jul 23, 2025):
Just tried again making sure to refresh with browser cache disabled.
I'm applying to specific user group, AND it's also the default for new users with "user" role.
I put all users into this specific user group.
The user I'm trying as admin, but since the admin is in that group, it should behave as expected.
@rgaricano commented on GitHub (Jul 23, 2025):
Enforce Temporary Chat doesn't apply to admins, only Temporary Chat:
https://github.com/open-webui/open-webui/blob/5fbfe2bdcadf5f157926f6551891e4dc0802b9f3/src/routes/(app)/%2Blayout.svelte#L220-L228
@lowlyocean commented on GitHub (Jul 23, 2025):
Something changed here in recent versions, it seems. Previously, I was able to disable temporary chats even as Admin without needing to pass URL parameter explicitly
@tjbck commented on GitHub (Jul 24, 2025):
@rgaricano is correct here.
@lowlyocean commented on GitHub (Jul 24, 2025):
What is the recommended way to have Admin have temporary chats by default? Bookmarking with the URL parameter is the only way? That doesn't get preserved between expired login sessions. Does a redundant non-admin user account need to be created (i.e. need to have a 2nd email account)?
@rgaricano commented on GitHub (Jul 24, 2025):
URL parameter "temporary-chat" it's just the same that the switch temporary chat in models dropdown list!