diff --git a/api/services/account_service.py b/api/services/account_service.py index 8f4f19dd90..df012b7e40 100644 --- a/api/services/account_service.py +++ b/api/services/account_service.py @@ -792,7 +792,7 @@ class TenantService: if not ta_operator or ta_operator.role not in perms[action]: raise NoPermissionError(f"No permission to {action} member.") - # Admin cannot remove or update other admin and the owner + # Restriction: Admins cannot remove or update other admins or the owner if action in {"remove", "update"}: if ta_operator.role == TenantAccountRole.ADMIN: if member: