mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-25 04:24:30 -05:00
[PR #4351] [MERGED] feat: add ENABLE_ADMIN_CHAT_ACCESS to control admin access to user chats #8264
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/4351
Author: @cheahjs
Created: 8/4/2024
Status: ✅ Merged
Merged: 8/4/2024
Merged by: @tjbck
Base:
dev← Head:feat/disable-admin-chat-view📝 Commits (1)
565f40cfeat: add ENABLE_ADMIN_CHAT_ACCESS to control admin access to user chats📊 Changes
5 files changed (+15 additions, -3 deletions)
View changed files
📝
backend/apps/webui/routers/chats.py(+7 -2)📝
backend/config.py(+4 -0)📝
backend/main.py(+2 -0)📝
src/lib/stores/index.ts(+1 -0)📝
src/routes/(app)/admin/+page.svelte(+1 -1)📄 Description
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
ENABLE_ADMIN_CHAT_ACCESSthat controls whether or not admins are allowed by the backend to read other users' chats. Related: https://github.com/open-webui/open-webui/discussions/1581.Added
ENABLE_ADMIN_CHAT_ACCESSenvironment variable to control if admins are able to access other users chats.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.