Skip to content

Commit 18646bb

Browse files
committed
4856: Fixed roles names in config load
1 parent 7e73849 commit 18646bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/open_webui/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1921,7 +1921,7 @@ async def get_app_config(request: Request):
19211921
else {}
19221922
),
19231923
}
1924-
if user is not None and (user.role in ["admin", "user"])
1924+
if user is not None and (user.role in ["admin", "user", "builder", "local-admin"])
19251925
else {
19261926
**(
19271927
{

0 commit comments

Comments
 (0)