-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First OIDC account is not admin #3496
Comments
State of SQLite DB before and after create first user. Before: >>> from sqlalchemy import create_engine, text
>>> engine = create_engine("sqlite:////<path>/webui.db")
>>> connection = engine.connect()
>>> connection.execute(text("select * from user")).fetchall()
[] After: >>> connection.execute(text("select * from user")).fetchall()
[('894d9af6-3108-45fa-a7db-d92b267db0b9', '<first and last name>', '<my email>', 'user', '/user.png', None, xxxxxxx, xxxxx, xxxxxx, 'null', 'null', 'oidc@<my email>')] First user has user role :( |
Set DEFAULT_USER_ROLE. This is error? |
This was referenced Jun 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: