For internal (restricted) websites, allow customize the DEFAULT_USER_ROLE with ENV values (set to user or admin for example).
Since at the moment we need to manually enable the user (pending -> user), I want to allow self-register for quick access.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/863
**Author:** [@duhow](https://github.com/duhow)
**Created:** 2/23/2024
**Status:** ✅ Merged
**Merged:** 2/23/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `main` ← **Head:** `patch-1`
---
### 📝 Commits (1)
- [`2148814`](https://github.com/open-webui/open-webui/commit/214881451dd9d228353e51a01244880f6466e6a7) allow custom default user role
### 📊 Changes
**1 file changed** (+1 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/config.py` (+1 -1)
</details>
### 📄 Description
For internal (restricted) websites, allow customize the `DEFAULT_USER_ROLE` with ENV values (set to `user` or `admin` for example).
Since at the moment we need to manually enable the user (`pending` -> `user`), I want to allow self-register for quick access.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/863
Author: @duhow
Created: 2/23/2024
Status: ✅ Merged
Merged: 2/23/2024
Merged by: @tjbck
Base:
main← Head:patch-1📝 Commits (1)
2148814allow custom default user role📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/config.py(+1 -1)📄 Description
For internal (restricted) websites, allow customize the
DEFAULT_USER_ROLEwith ENV values (set touseroradminfor example).Since at the moment we need to manually enable the user (
pending->user), I want to allow self-register for quick access.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.