I have read and followed all the instructions provided in the README.md.
I am on the latest version of both Open WebUI and Ollama.
I have included the browser console logs.
I have included the Docker container logs.
I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
Expected Behavior:
Role switches between Pending/User/Admin
Actual Behavior:
Role remains the same, error "The requested action has been restricted as a security measure." is presented.
Description
Bug Summary:
The role of the first [admin] account on the system cannot be changed (as an aside that means it can also not be deleted); regardless of whether another admin account exists.
Reproduction Details
Steps to Reproduce:
If new instance, register first admin user and log in; else, just log in as first admin user
Create another admin user
Log in as second admin user
Attempt to change first admin users role
Notes
I'd expect this behaviour to be valid only if a single admin user was present
Originally created by @sebastianlau on GitHub (Oct 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6119
# Bug Report
## Installation Method
Docker
## Environment
- **Open WebUI Version:** v0.3.32
- **Operating System:** Ubuntu 20.04.03
**Confirmation:**
- [x] I have read and followed all the instructions provided in the README.md.
- [x] I am on the latest version of both Open WebUI and Ollama.
- [ ] I have included the browser console logs.
- [ ] I have included the Docker container logs.
- [x] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.
## Expected Behavior:
Role switches between Pending/User/Admin
## Actual Behavior:
Role remains the same, error "The requested action has been restricted as a security measure." is presented.
## Description
**Bug Summary:**
The role of the first [admin] account on the system cannot be changed (as an aside that means it can also not be deleted); regardless of whether another admin account exists.
## Reproduction Details
**Steps to Reproduce:**
1. If new instance, register first admin user and log in; else, just log in as first admin user
2. Create another admin user
3. Log in as second admin user
4. Attempt to change first admin users role
## Notes
I'd expect this behaviour to be valid only if a single admin user was present
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 @sebastianlau on GitHub (Oct 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6119
Bug Report
Installation Method
Docker
Environment
Open WebUI Version: v0.3.32
Operating System: Ubuntu 20.04.03
Confirmation:
Expected Behavior:
Role switches between Pending/User/Admin
Actual Behavior:
Role remains the same, error "The requested action has been restricted as a security measure." is presented.
Description
Bug Summary:
The role of the first [admin] account on the system cannot be changed (as an aside that means it can also not be deleted); regardless of whether another admin account exists.
Reproduction Details
Steps to Reproduce:
Notes
I'd expect this behaviour to be valid only if a single admin user was present