mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[GH-ISSUE #6119] Cannot change role for first admin #14248
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 @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