Skip to content

Commit 5e6fd90

Browse files
committed
Fix recursion bug
1 parent fe9ff83 commit 5e6fd90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bluesky_httpserver/authorization/resource_access.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,6 @@ def get_resource_group(self, username, group):
123123
"""
124124
if isinstance(group, list):
125125
if group[-1] in ["unauthenticated_public", "unauthenticated_single_user"]:
126-
return self.get_resource_group(username, group)
126+
return self._default_group
127127
return group[-1]
128128
return group

0 commit comments

Comments
 (0)