Skip to content

Commit

Permalink
Merge pull request #296 from rapyuta-robotics/devel
Browse files Browse the repository at this point in the history
🔥 hotfix: v7.3.3
  • Loading branch information
pallabpain authored Mar 27, 2024
2 parents 5b3c373 + 7cdae50 commit 8289408
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions riocli/project/whoami.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,8 @@ def find_role(

# If the user is part of a group that has admin access then no
# need to check further.
if role and (role != ADMIN_ROLE and group['role'] == ADMIN_ROLE):
role = ADMIN_ROLE
break
if role != ADMIN_ROLE and group['role'] == ADMIN_ROLE:
return ADMIN_ROLE

role = group['role']

Expand Down

0 comments on commit 8289408

Please sign in to comment.