mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[GH-ISSUE #3496] First OIDC account is not admin #13288
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?
Originally created by @Semihal on GitHub (Jun 28, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3496
Bug Report
Description
Bug Summary:
I create first account (in the whole system) with OIDC and found that is not admin.
Steps to Reproduce:
Expected Behavior:
Actual Behavior:
Environment
@Semihal commented on GitHub (Jun 28, 2024):
State of SQLite DB before and after create first user.
Before:
After:
First user has user role :(
@Semihal commented on GitHub (Jun 28, 2024):
79f8620b34/backend/main.py (L2105)Set DEFAULT_USER_ROLE. This is error?