mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[PR #1688] [MERGED] feat: add ENABLE_ADMIN_EXPORT to disable exporting of chats and the db #20752
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/1688
Author: @cheahjs
Created: 4/22/2024
Status: ✅ Merged
Merged: 4/22/2024
Merged by: @tjbck
Base:
dev← Head:feat/disable-all-users-export📝 Commits (2)
190b934feat: add ALLOW_ADMIN_EXPORT to disable exporting of chats and the dbe2a8ad5address comments, rename to ENABLE_ADMIN_EXPORT📊 Changes
6 files changed (+44 additions, -28 deletions)
View changed files
📝
backend/apps/web/routers/chats.py(+6 -1)📝
backend/apps/web/routers/utils.py(+5 -1)📝
backend/config.py(+2 -0)📝
backend/main.py(+2 -0)📝
src/lib/components/admin/Settings/Database.svelte(+28 -25)📝
src/lib/components/chat/Settings/Chats.svelte(+1 -1)📄 Description
Pull Request Checklist
Description
Adds the environment variable
ENABLE_ADMIN_EXPORTthat controls the ability for admins to:Discussion around user privacy: https://github.com/open-webui/open-webui/discussions/1581
Changelog Entry
Added
ENABLE_ADMIN_EXPORTallows server admins to control whether users with admin privileges can export all users chats and the database.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.