I have searched the existing issues and discussions.
Problem Description
Currently, when the option to Show Admin Details in Account Pending Overlay is enabled, it will use the first User in the db table.
This is also why the view for /api/v1/users/update/role has a condition that directly disallows changing the role of the first User in the db table.
This isn't desirable because people might create other users and want to show those as contact info instead.
Desired Solution you'd like
Create an additional field for the User model (or otherwise store this flag) for whether this is the Contact Info user.
Alternatives Considered
Alternative could be to change the info (email + name) for that User, but if you've been using it and have lots of data there, then this is definitely not ideal, as changing things like the name will affect your prompting and experience if you have references to User name in the prompt.
Additional Context
I'll try to draft a PR for this.
Originally created by @Davixk on GitHub (Apr 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12500
### Check Existing Issues
- [x] I have searched the existing issues and discussions.
### Problem Description
Currently, when the option to `Show Admin Details in Account Pending Overlay` is enabled, it will use the first User in the db table.
This is also why the view for `/api/v1/users/update/role` has a condition that directly disallows changing the role of the first User in the db table.
This isn't desirable because people might create other users and want to show those as contact info instead.
### Desired Solution you'd like
Create an additional field for the User model (or otherwise store this flag) for whether this is the Contact Info user.
### Alternatives Considered
Alternative could be to change the info (email + name) for that User, but if you've been using it and have lots of data there, then this is definitely not ideal, as changing things like the name will affect your prompting and experience if you have references to User name in the prompt.
### Additional Context
I'll try to draft a PR for this.
It would seem that this is decided by config.ADMIN_EMAIL and can be set via environment variables.
Then the feature request would be to expose editing the default admin via the settings page. A dropdown menu to pick which user to use would be great.
<!-- gh-comment-id:2781178249 -->
@Davixk commented on GitHub (Apr 6, 2025):
It would seem that this is decided by config.ADMIN_EMAIL and can be set via environment variables.
Then the feature request would be to expose editing the default admin via the settings page. A dropdown menu to pick which user to use would be great.
That actually is not a terrible idea.. I did by accident deleted the first user (🥲) and then was troubleshooting what is going on... Thanks for the hint!
It might also happen that there is a need to change the admin from time to time.
<!-- gh-comment-id:3346766981 -->
@vaclcer commented on GitHub (Sep 29, 2025):
That actually is not a terrible idea.. I did by accident deleted the first user (🥲) and then was troubleshooting what is going on... Thanks for the hint!
It might also happen that there is a need to change the admin from time to time.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Davixk on GitHub (Apr 6, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12500
Check Existing Issues
Problem Description
Currently, when the option to
Show Admin Details in Account Pending Overlayis enabled, it will use the first User in the db table.This is also why the view for
/api/v1/users/update/rolehas a condition that directly disallows changing the role of the first User in the db table.This isn't desirable because people might create other users and want to show those as contact info instead.
Desired Solution you'd like
Create an additional field for the User model (or otherwise store this flag) for whether this is the Contact Info user.
Alternatives Considered
Alternative could be to change the info (email + name) for that User, but if you've been using it and have lots of data there, then this is definitely not ideal, as changing things like the name will affect your prompting and experience if you have references to User name in the prompt.
Additional Context
I'll try to draft a PR for this.
@Davixk commented on GitHub (Apr 6, 2025):
It would seem that this is decided by config.ADMIN_EMAIL and can be set via environment variables.
Then the feature request would be to expose editing the default admin via the settings page. A dropdown menu to pick which user to use would be great.
@vaclcer commented on GitHub (Sep 29, 2025):
That actually is not a terrible idea.. I did by accident deleted the first user (🥲) and then was troubleshooting what is going on... Thanks for the hint!
It might also happen that there is a need to change the admin from time to time.
@Classic298 commented on GitHub (Dec 30, 2025):
fixed by https://github.com/open-webui/open-webui/pull/20260