[GH-ISSUE #6507] DEFAULT_USER_ROLE broken since 0.3.34 #14390

Closed
opened 2026-04-19 20:46:10 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @0xelion on GitHub (Oct 28, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/6507

Bug Report

Installation Method

Docker

Environment

  • Open WebUI Version: 0.3.35

  • Ollama (if applicable): N/A

  • Operating System: N/A

  • Browser (if applicable): N/A

Confirmation:

  • 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.
  • [NA] I have included the browser console logs.
  • [NA] I have included the Docker container logs.
  • [NA] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below.

Expected Behavior:

When setting the DEFAULT_USER_ROLE environment variable to user. New users should be given the role user

Actual Behavior:

When setting the DEFAULT_USER_ROLE environment variable to user. New users are given the default role of pending

Description

Bug Summary:
the DEFAULT_USER_ROLE environment variable is no longer working since 0.3.34

Additional Information

New bug that appeared in 0.3.34, users are correctly assigned in 0.3.33

Originally created by @0xelion on GitHub (Oct 28, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/6507 # Bug Report ## Installation Method Docker ## Environment - **Open WebUI Version:** 0.3.35 - **Ollama (if applicable):** N/A - **Operating System:** N/A - **Browser (if applicable):** N/A **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. - [NA] I have included the browser console logs. - [NA] I have included the Docker container logs. - [NA] I have provided the exact steps to reproduce the bug in the "Steps to Reproduce" section below. ## Expected Behavior: When setting the `DEFAULT_USER_ROLE` environment variable to `user`. New users should be given the role `user` ## Actual Behavior: When setting the `DEFAULT_USER_ROLE` environment variable to `user`. New users are given the default role of `pending` ## Description **Bug Summary:** the DEFAULT_USER_ROLE environment variable is no longer working since 0.3.34 ## Additional Information New bug that appeared in 0.3.34, users are correctly assigned in 0.3.33
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#14390