mirror of
https://github.com/open-webui/open-webui.git
synced 2026-06-03 07:24:59 -05:00
[PR #19954] [CLOSED] feat: Admins setting custom default interface settings #96447
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/19954
Author: @Classic298
Created: 12/14/2025
Status: ❌ Closed
Base:
dev← Head:admin-interface📝 Commits (10+)
bcb42dfAdmin interface settings (#104)651a02fUpdate Interface.svelte851893dUpdate Interface.svelte9fbae88Update text-scale.tsdc7d79cUpdate text-scale.ts69024caUpdate users.py1d03fc6Update users.pydb88d4dUpdate configs.pya28caa0Update InterfaceDefaultsModal.sveltec35f676Update Interface.svelte📊 Changes
14 files changed (+1032 additions, -290 deletions)
View changed files
📝
backend/open_webui/models/groups.py(+2 -1)📝
backend/open_webui/routers/configs.py(+108 -1)📝
backend/open_webui/routers/users.py(+96 -0)📝
src/lib/apis/configs/index.ts(+55 -0)📝
src/lib/apis/users/index.ts(+27 -0)📝
src/lib/components/admin/Settings/Interface.svelte(+147 -0)➕
src/lib/components/admin/Settings/Interface/InterfaceDefaultsModal.svelte(+212 -0)📝
src/lib/components/admin/Users/Groups/EditGroupModal.svelte(+15 -61)📝
src/lib/components/admin/Users/Groups/Permissions.svelte(+27 -62)📝
src/lib/components/chat/Settings/Interface.svelte(+196 -161)📝
src/lib/components/chat/SettingsModal.svelte(+9 -0)➕
src/lib/constants/permissions.ts(+60 -0)📝
src/lib/utils/index.ts(+50 -0)📝
src/routes/(app)/+layout.svelte(+28 -4)📄 Description
devbranch. Not targeting thedevbranch will lead to immediate closure of the PR.Changelog Entry
Description
This PR implements admin control for interface settings with global defaults, permission-based access control, and user reset functionality. Admins can now configure default interface settings (chat bubble, wide screen, RTL, etc.) that apply to all users, while maintaining granular control over which user groups can modify these settings.
Key Features:
Architectural Decisions:
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.