Co-Authored-By: Boris Rybalkin <ribalkin@gmail.com>
This commit is contained in:
Timothy Jaeryang Baek 2026-06-01 10:16:01 -07:00
parent 0e73f7af09
commit 07cbc91a8e

View file

@ -1264,7 +1264,7 @@ class OAuthManager:
if oauth_roles:
matched = False
for allowed_role in oauth_allowed_roles:
if allowed_role in oauth_roles:
if allowed_role == '*' or allowed_role in oauth_roles:
log.debug('Assigned user the user role')
role = 'user'
matched = True