Skip to content

Commit

Permalink
debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Oct 11, 2024
1 parent 220a132 commit 7d30a97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions validation_service_api/validation_service/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ async def get_collab_permissions(self, collab_id):
else:
assert highest_collab_role is None
collab_info = await self.get_collab_info(collab_id)
assert isinstance(collab_info, dict), f"{collab_id}: {collab_info}"
if collab_info.get("isPublic", False): # will be False if 404 collab not found
permissions = {"VIEW": True, "UPDATE": False}
else:
Expand Down

0 comments on commit 7d30a97

Please sign in to comment.