mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 00:30:51 +00:00
fix: nested WrappedConfig breaks things
This commit is contained in:
parent
298e6848b3
commit
a0dceb06a5
@ -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 New Issue
Block a user