[GH-ISSUE #16739] issue: Unable to change user's role from user admin page #121339

Closed
opened 2026-05-20 23:16:56 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @galyfray on GitHub (Aug 19, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16739

Check Existing Issues

  • I have searched the existing issues and discussions.
  • I am using the latest version of Open WebUI.

Installation Method

Git Clone

Open WebUI Version

v06.22

Ollama Version (if applicable)

--

Operating System

Debian 12

Browser (if applicable)

firefox

Confirmation

  • I have read and followed all instructions in README.md.
  • I am using 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 every relevant configuration, setting, and environment variable used in my setup.
  • I have clearly listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc).
  • I have documented step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation. My steps:
  • Start with the initial platform/version/OS and dependencies used,
  • Specify exact install/launch/configure commands,
  • List URLs visited, user input (incl. example values/emails/passwords if needed),
  • Describe all options and toggles enabled or changed,
  • Include any files or environmental changes,
  • Identify the expected and actual result at each stage,
  • Ensure any reasonably skilled user can follow and hit the same issue.

Expected Behavior

go to user admin page as admin, click on a user's role -> say ok to the popup. role get updated

Actual Behavior

has a 405 Error because the endpoint does not seems to exists

Steps to Reproduce

  1. start with a clean install of open-webui (mine is installed with pip)
  2. create admin user
  3. set "default role" to pending
  4. disconect
  5. create a new account
  6. reconnect as admin
  7. go to user administration page (admin/users)
  8. try to change the user role
  9. get a 405

Logs & Screenshots

Image
Aug 19 20:13:42 open-webui open-webui[8156]: 2025-08-19 20:13:42.077 | INFO     | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:0 - "POST /api/v1/users/update/role HTTP/1.1" 405

Additional Information

I looked at the code in the backend router for the subpath 'users' and did not found any trace of the route used by the frontend. I used github's search to seek for the route and only found it in a typescript frontend file. also searched for update/role

Originally created by @galyfray on GitHub (Aug 19, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/16739 ### Check Existing Issues - [x] I have searched the existing issues and discussions. - [x] I am using the latest version of Open WebUI. ### Installation Method Git Clone ### Open WebUI Version v06.22 ### Ollama Version (if applicable) -- ### Operating System Debian 12 ### Browser (if applicable) firefox ### Confirmation - [x] I have read and followed all instructions in `README.md`. - [x] I am using the latest version of **both** Open WebUI and Ollama. - [x] I have included the browser console logs. - [x] I have included the Docker container logs. - [x] I have **provided every relevant configuration, setting, and environment variable used in my setup.** - [x] I have clearly **listed every relevant configuration, custom setting, environment variable, and command-line option that influences my setup** (such as Docker Compose overrides, .env values, browser settings, authentication configurations, etc). - [x] I have documented **step-by-step reproduction instructions that are precise, sequential, and leave nothing to interpretation**. My steps: - Start with the initial platform/version/OS and dependencies used, - Specify exact install/launch/configure commands, - List URLs visited, user input (incl. example values/emails/passwords if needed), - Describe all options and toggles enabled or changed, - Include any files or environmental changes, - Identify the expected and actual result at each stage, - Ensure any reasonably skilled user can follow and hit the same issue. ### Expected Behavior go to user admin page as admin, click on a user's role -> say ok to the popup. role get updated ### Actual Behavior has a 405 Error because the endpoint does not seems to exists ### Steps to Reproduce 1. start with a clean install of open-webui (mine is installed with pip) 2. create admin user 3. set "default role" to pending 4. disconect 5. create a new account 6. reconnect as admin 7. go to user administration page (admin/users) 8. try to change the user role 9. get a 405 ### Logs & Screenshots <img width="1756" height="345" alt="Image" src="https://github.com/user-attachments/assets/49160103-9b93-4249-8e45-5860e0f2bb3e" /> ``` Aug 19 20:13:42 open-webui open-webui[8156]: 2025-08-19 20:13:42.077 | INFO | uvicorn.protocols.http.httptools_impl:send:476 - 127.0.0.1:0 - "POST /api/v1/users/update/role HTTP/1.1" 405 ``` ### Additional Information I looked at the code in the backend router for the subpath 'users' and did not found any trace of the route used by the frontend. I used github's search to seek for the route and only found it in a typescript frontend file. also searched for `update/role`
GiteaMirror added the bug label 2026-05-20 23:16:56 -05:00
Author
Owner

@tjbck commented on GitHub (Aug 19, 2025):

Unable to reproduce from our end.

<!-- gh-comment-id:3202149267 --> @tjbck commented on GitHub (Aug 19, 2025): Unable to reproduce from our end.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#121339