Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
507a92ec
Unverified
Commit
507a92ec
authored
Feb 23, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
Feb 23, 2024
Browse files
Merge pull request #863 from duhow/patch-1
config: allow custom default user role
parents
b1fa32c5
21488145
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
backend/config.py
backend/config.py
+1
-1
No files found.
backend/config.py
View file @
507a92ec
...
@@ -187,7 +187,7 @@ DEFAULT_PROMPT_SUGGESTIONS = (
...
@@ -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
}}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment