Skip to content

Commit 05bf208

Browse files
committed
4856: Fixed roles names in config load
1 parent ef9b352 commit 05bf208

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
@@ -1828,7 +1828,7 @@ async def get_app_config(request: Request):
18281828
else {}
18291829
),
18301830
}
1831-
if user is not None and (user.role in ["admin", "user"])
1831+
if user is not None and (user.role in ["admin", "user", "builder", "local-admin"])
18321832
else {
18331833
**(
18341834
{

0 commit comments

Comments
 (0)