mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-16 20:11:53 -05:00
[PR #1151] [MERGED] Feat/custom default user permissions chat deletion #7383
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/1151
Author: @changchiyou
Created: 3/13/2024
Status: ✅ Merged
Merged: 3/19/2024
Merged by: @tjbck
Base:
dev← Head:feat/custom_default_user_permissions_chat_deletion📝 Commits (3)
04e3b16config: allow custom default user permissions - chat deletionc6e14cerefactor: restrict the scope ofUSER_PERMISSIONS_CHAT_DELETION87344adrefac📊 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?
Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
Description
Users can now customize the initial value of
USER_PERMISSIONSforAllow Chat Deletionby settingUSER_PERMISSIONS_CHAT_DELETIONtoFalse.Changelog Entry
Added
Allow Chat Deletion.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.