def METHOD_NAME(*group_names):
    """
    Requires user membership in at least one of the groups passed in.
    """
    def in_groups(u):
        if u.is_authenticated:
            if u.is_superuser or bool(u.groups.filter(name__in=group_names)):
                return True
        return False
    return user_passes_test(in_groups)