mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 02:48:13 -05:00
[PR #21679] [CLOSED] Fix: new Environment variable OAUTH_DEFAULT_GROUP_PERMISSIONS & default Group behavior of {"config": {"share": False}} for sharing when new group created via oAuth #49247
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/21679
Author: @antpar-rf
Created: 2/21/2026
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (4)
3c7863fAdded OAUTH_DEFAULT_GROUP_PERMISSIONS Env Var32ed90bFix: Add Oauth Group Permission logic based off of permissions2acff6fUpdate oauth.pyc710f7aRe-added OAUTH_MAX_SESSIONS_PER_USER📊 Changes
2 files changed (+33 additions, -1 deletions)
View changed files
📝
backend/open_webui/config.py(+5 -0)📝
backend/open_webui/utils/oauth.py(+28 -1)📄 Description
Fix: OAUTH_DEFAULT_GROUP_PERMISSIONS
Add oAuth Group Permission logic for new groups based off of permissions environment model by default . If not set, sets to noone as best form of secops.
OAUTH_DEFAULT_GROUP_PERMISSIONS = 'members' , 'noone' or 'anyone'
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.