mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-23 06:31:57 -05:00
[PR #2158] [CLOSED] New settings feature to whitelist models for individual users #7710
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/2158
Author: @mrrtmob
Created: 5/10/2024
Status: ❌ Closed
Base:
dev← Head:main📝 Commits (10+)
eab0ee9splitLargeChunks to default true5d91a70remove socialb8d7fdfMerge pull request #1965 from open-webui/dev35388a6translate9f2b846Merge pull request #2101 from open-webui/dev2bc2a36splitLargeChunks92402b9splitLargeChunks1cc5e20splitLargeChunksf7b9a4bsplitLargeChunksa83f650mertge upstream v0.1.124📊 Changes
16 files changed (+1065 additions, -94 deletions)
View changed files
📝
.gitignore(+2 -0)📝
backend/apps/ollama/main.py(+75 -3)📝
backend/apps/openai/main.py(+35 -5)➕
backend/apps/web/internal/migrations/008_admin_settings.py(+53 -0)➕
backend/apps/web/internal/migrations/009_add_model_to_users_table.py(+50 -0)➕
backend/apps/web/models/admin_settings.py(+75 -0)📝
backend/apps/web/models/users.py(+10 -0)📝
backend/apps/web/routers/users.py(+26 -1)📝
backend/main.py(+35 -5)📝
src/app.html(+51 -1)📝
src/lib/apis/users/index.ts(+4 -0)📝
src/lib/components/admin/EditUserModal.svelte(+195 -77)📝
src/lib/components/chat/Settings/Interface.svelte(+2 -2)➕
src/lib/i18n/locales/km-KH/translation.json(+443 -0)📝
src/lib/i18n/locales/languages.json(+4 -0)📝
src/routes/(app)/admin/+page.svelte(+5 -0)📄 Description
Description
This pull request introduces a new settings feature that allows admin users to whitelist models for each user. This functionality enhances the customization options available to admin users, enabling them to specify which models are accessible to individual users, thereby providing a more tailored experience.
Changelog Entry
Added
Security
Additional Information
This update aims to improve user permissions management and overall data security within the application. It provides a granular level of control to administrators, allowing them to refine user access privileges based on specific model requirements.
For any further details, please refer to the related commits and issues associated with this enhancement.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.