def get_userdetail_fields(fields):
    """
    Returns the fields for `UserDetailSerializer`.
    """
    fields = list(fields)
    fields.remove('is_superuser')
    fields.remove('user_permissions')
    fields = tuple(fields)
    return fields