Skip to content

Commit b331351

Browse files
committed
4856: Fixed roles names in config load
1 parent 83aae68 commit b331351

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
@@ -1820,7 +1820,7 @@ async def get_app_config(request: Request):
18201820
else {}
18211821
),
18221822
}
1823-
if user is not None and (user.role in ["admin", "user"])
1823+
if user is not None and (user.role in ["admin", "user", "builder", "local-admin"])
18241824
else {
18251825
**(
18261826
{

0 commit comments

Comments
 (0)