mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #705] User role for new user not changing in admin panel #27715
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 @gurgutan on GitHub (Feb 11, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/705
Bug Report
Description
Bug Summary:
Can't change user role for new user in admin panel, and he stay pending status
Steps to Reproduce:
Clicked on the user role (not Admin) cell in the table to change a user's role
Expected Behavior:
Pending role change to approved
Actual Behavior:
nothing happened
Environment
Reproduction Details
Confirmation:
Logs and Screenshots
Browser Console Logs:
Request:
{"id":"b4ec8863-fe7b-4822-aedf-695587c914a7","role":"user"}
Response:
XHRPOST
http://localhost:8080/api/v1/users/update/role
[HTTP/1.1 500 Internal Server Error 4ms]
Screenshots (if applicable):

@tjbck commented on GitHub (Feb 11, 2024):
https://github.com/ollama-webui/ollama-webui/pull/701 should've fixed it! Please try out the latest version, and let me know if the issue persists!
@mcantos89 commented on GitHub (Jun 3, 2024):
Hi, i need help for this issue, isn't possible change role, have a 👍
Ollama Web UI Version
v1.0.0-alpha.92
Ollama Version
0.1.41
@justinh-rahb commented on GitHub (Jun 3, 2024):
This version is ANCIENT.
@tjbck commented on GitHub (Jun 3, 2024):
@mcantos89 commented on GitHub (Jun 4, 2024):
Thanks! I'm Lamer hahaha

It's in a new version
THANKS!