Skip to content

Commit

Permalink
Correct a code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Nov 27, 2024
1 parent 0bf285a commit b64c396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h/security/predicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def get_authenticated_users_roles():
return True

if GroupMembershipRoles.ADMIN in authenticated_users_roles:
# Admins can change their own role to anything but admin.
# Admins can change their own role to anything but owner.
return GroupMembershipRoles.OWNER not in new_roles

if GroupMembershipRoles.MODERATOR in authenticated_users_roles:
Expand Down

0 comments on commit b64c396

Please sign in to comment.