feat: add ENABLE_ADMIN_CHAT_ACCESS to control admin access to user chats

This commit is contained in:
Jun Siang Cheah committed 2024-08-04 15:16:14 +01:00
1 parent a75a9c953a
commit 565f40c642
5 files changed
+15 -3

No files matched your search

+4
View File
@@ -824,6 +824,10 @@ WEBHOOK_URL = PersistentConfig(
ENABLE_ADMIN_EXPORT = os.environ.get("ENABLE_ADMIN_EXPORT", "True").lower() == "true"
ENABLE_ADMIN_CHAT_ACCESS = (
os.environ.get("ENABLE_ADMIN_CHAT_ACCESS", "True").lower() == "true"
)
ENABLE_COMMUNITY_SHARING = PersistentConfig(
"ENABLE_COMMUNITY_SHARING",
"ui.enable_community_sharing",