[PR #1688] [MERGED] feat: add ENABLE_ADMIN_EXPORT to disable exporting of chats and the db #20752

Closed
opened 2026-04-20 03:09:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: feat/disable-all-users-export


📝 Commits (2)

  • 190b934 feat: add ALLOW_ADMIN_EXPORT to disable exporting of chats and the db
  • e2a8ad5 address 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: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?

Description

Adds the environment variable ENABLE_ADMIN_EXPORT that controls the ability for admins to:

  1. Export all chats
  2. Export the database

Discussion around user privacy: https://github.com/open-webui/open-webui/discussions/1581


Changelog Entry

Added

  • 🔐 Admin Export Control: ENABLE_ADMIN_EXPORT allows 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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/1688 **Author:** [@cheahjs](https://github.com/cheahjs) **Created:** 4/22/2024 **Status:** ✅ Merged **Merged:** 4/22/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/disable-all-users-export` --- ### 📝 Commits (2) - [`190b934`](https://github.com/open-webui/open-webui/commit/190b934ab5176f3c0ed95ac621638ee7741ee500) feat: add ALLOW_ADMIN_EXPORT to disable exporting of chats and the db - [`e2a8ad5`](https://github.com/open-webui/open-webui/commit/e2a8ad5fca0bae1d619cae9b436a9a9c3c0ab50e) address comments, rename to ENABLE_ADMIN_EXPORT ### 📊 Changes **6 files changed** (+44 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description ## Pull Request Checklist - [x] **Description:** Briefly describe the changes in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [ ] **Documentation:** Have you updated relevant documentation? - [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? --- ## Description Adds the environment variable `ENABLE_ADMIN_EXPORT` that controls the ability for admins to: 1. Export all chats 2. Export the database Discussion around user privacy: https://github.com/open-webui/open-webui/discussions/1581 --- ### Changelog Entry ### Added - 🔐 Admin Export Control: `ENABLE_ADMIN_EXPORT` allows server admins to control whether users with admin privileges can export all users chats and the database. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 03:09:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#20752