mirror of
https://github.com/open-webui/open-webui
synced 2025-03-29 03:41:02 +00:00
Merge pull request #863 from duhow/patch-1
config: allow custom default user role
This commit is contained in:
commit
507a92ece7
@ -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}}
|
USER_PERMISSIONS = {"chat": {"deletion": True}}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user