mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-13 04:45:19 +00:00
fix: nested WrappedConfig breaks things
This commit is contained in:
parent
298e6848b3
commit
a0dceb06a5
1 changed files with 2 additions and 4 deletions
|
|
@ -511,10 +511,8 @@ DEFAULT_USER_ROLE = WrappedConfig(
|
|||
os.getenv("DEFAULT_USER_ROLE", "pending"),
|
||||
)
|
||||
|
||||
USER_PERMISSIONS_CHAT_DELETION = WrappedConfig(
|
||||
"USER_PERMISSIONS_CHAT_DELETION",
|
||||
"ui.user_permissions.chat.deletion",
|
||||
os.environ.get("USER_PERMISSIONS_CHAT_DELETION", "True").lower() == "true",
|
||||
USER_PERMISSIONS_CHAT_DELETION = (
|
||||
os.environ.get("USER_PERMISSIONS_CHAT_DELETION", "True").lower() == "true"
|
||||
)
|
||||
|
||||
USER_PERMISSIONS = WrappedConfig(
|
||||
|
|
|
|||
Loading…
Reference in a new issue