docs: private void ensureLastAdminIsNotRemoved(DbSession dbSession, GroupDto group, UserDto user) {
      int remainingAdmins = dbClient.authorizationDao().countUsersWithGlobalPermissionExcludingGroupMember(dbSession,
        group.getOrganizationUuid(), OrganizationPermission.ADMINISTER.getKey(), group.getId(), user.getId());
      checkRequest(remainingAdmins > 0, "The last administrator user cannot be removed");
    }