class UserSerializer
  include TalkSerializer
  include ModerationActions
  
  all_attributes except: :email
end

class UserSerializer
  include TalkSerializer
  include ModerationActions
  
  attributes :id, :created_at, :updated_at, :display_name,
    :zooniverse_id, :credited_name, :admin, :banned
end

Whitelist instead of blacklist user attributes
Whitelist instead of blacklist user attributes