mirror of
https://github.com/open-webui/open-webui
synced 2025-01-29 22:08:07 +00:00
allow custom default user role
This commit is contained in:
parent
b1fa32c5d6
commit
214881451d
@ -187,7 +187,7 @@ DEFAULT_PROMPT_SUGGESTIONS = (
|
||||
)
|
||||
|
||||
|
||||
DEFAULT_USER_ROLE = "pending"
|
||||
DEFAULT_USER_ROLE = os.getenv("DEFAULT_USER_ROLE", "pending")
|
||||
USER_PERMISSIONS = {"chat": {"deletion": True}}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user