Merge pull request #863 from duhow/patch-1

config: allow custom default user role
This commit is contained in:
Timothy Jaeryang Baek 2024-02-23 13:49:50 -05:00 committed by GitHub
commit 507a92ece7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}}