[PR #1151] [MERGED] Feat/custom default user permissions chat deletion #7383

Closed
opened 2025-11-11 17:25:00 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1151
Author: @changchiyou
Created: 3/13/2024
Status: Merged
Merged: 3/19/2024
Merged by: @tjbck

Base: devHead: feat/custom_default_user_permissions_chat_deletion


📝 Commits (3)

  • 04e3b16 config: allow custom default user permissions - chat deletion
  • c6e14ce refactor: restrict the scope of USER_PERMISSIONS_CHAT_DELETION
  • 87344ad refac

📊 Changes

2 files changed (+7 additions, -2 deletions)

View changed files

📝 backend/config.py (+6 -1)
📝 backend/constants.py (+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?

    No relevant documentation exists.

  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?


Description

This is a workaround for #988, which is mentioned at https://github.com/open-webui/open-webui/issues/1022#issuecomment-1992061479.

Users can now customize the initial value of USER_PERMISSIONS for Allow Chat Deletion by setting USER_PERMISSIONS_CHAT_DELETION to False.


Changelog Entry

Added

  • Allow user custom default user permission, specifically Allow Chat Deletion.

🔄 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/1151 **Author:** [@changchiyou](https://github.com/changchiyou) **Created:** 3/13/2024 **Status:** ✅ Merged **Merged:** 3/19/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `feat/custom_default_user_permissions_chat_deletion` --- ### 📝 Commits (3) - [`04e3b16`](https://github.com/open-webui/open-webui/commit/04e3b168a604d6e327b11a8310e4f1b8f38d1279) config: allow custom default user permissions - chat deletion - [`c6e14ce`](https://github.com/open-webui/open-webui/commit/c6e14ce3272833ef139f2abcf8fdac70cdcc762c) refactor: restrict the scope of `USER_PERMISSIONS_CHAT_DELETION` - [`87344ad`](https://github.com/open-webui/open-webui/commit/87344adf2902d40427e928f51658d24e8d5efbb3) refac ### 📊 Changes **2 files changed** (+7 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `backend/config.py` (+6 -1) 📝 `backend/constants.py` (+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? > No relevant documentation exists. - [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? --- ## Description > This is a workaround for #988, which is mentioned at https://github.com/open-webui/open-webui/issues/1022#issuecomment-1992061479. Users can now customize the initial value of `USER_PERMISSIONS` for `Allow Chat Deletion` by setting `USER_PERMISSIONS_CHAT_DELETION` to `False`. --- ### Changelog Entry ### Added - Allow user custom default user permission, specifically `Allow Chat Deletion`. --- <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 2025-11-11 17:25:00 -06: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#7383