mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 14:39:31 -05:00
[PR #10825] [CLOSED] feat: New permission toggle to manage "Public" sharing capability #9401
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/10825
Author: @taylorwilsdon
Created: 2/26/2025
Status: ❌ Closed
Base:
dev← Head:disable_public_sharing_option📝 Commits (10+)
0d97064Implement new permission for public sharing, apply to AccessControl.svelte, exempt administrators so that they can always share publiclycdb09c3Implement support for env var configuration93d0a4dUpdate users.py49fad0dUpdate Permissions.svelte636494cUpdate Permissions.svelte5f129b6Merge branch 'dev' into disable_public_sharing_option5471d98Update translation.json1a1f9b0Update translation.json96048e2Update config.pye44fa7cUpdate config.py📊 Changes
6 files changed (+79 additions, -15 deletions)
View changed files
📝
backend/open_webui/config.py(+5 -0)📝
backend/open_webui/routers/users.py(+1 -0)📝
src/lib/components/admin/Users/Groups/Permissions.svelte(+8 -0)📝
src/lib/components/workspace/Models/ModelEditor.svelte(+5 -1)📝
src/lib/components/workspace/common/AccessControl.svelte(+59 -14)📝
src/lib/i18n/locales/en-US/translation.json(+1 -0)📄 Description
Pull Request Checklist
devbranch.Changelog Entry
Description
Added
Permissions.sveltefor "Public Sharing" that utilizes the existingpermissions.workspaceobject.AccessControl.svelteto disable the Public option for non-admin users whose default or Group-level permissions dictate that Public Sharing is disabled.Additional Information
Screenshots or Videos
https://github.com/user-attachments/assets/c8907acc-38c2-4803-a4ff-a97935b01053
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.