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
- **Operating System:** [Ubuntu 20.04]
- **Browser (if applicable):** [Firefox 122.0 (64-разрядный)]
## Reproduction Details
**Confirmation:**
- [ х] I have read and followed all the instructions provided in the README.md.
- [ х] I have reviewed the troubleshooting.md document.
- [ х] I have included the browser console logs.
- [ х] I have included the Docker container logs.
## 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):**

<!-- gh-comment-id:1937458499 -->
@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!
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
<!-- gh-comment-id:2145553921 -->
@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
<!-- gh-comment-id:2146823723 -->
@mcantos89 commented on GitHub (Jun 4, 2024):
Thanks! I'm Lamer hahaha

It's in a new version
**THANKS!**
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 @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!