"cover_photo" => User.banner_url(user) |> MediaProxy.url(),
"background_image" => image_url(user.info.background) |> MediaProxy.url(),
"is_local" => user.local,
+ "is_moderator" => user.info.is_moderator,
+ "is_admin" => user.info.is_admin,
"locked" => user.info.locked,
"default_scope" => user.info.default_scope,
"no_rich_text" => user.info.no_rich_text,
"cover_photo" => banner,
"background_image" => nil,
"is_local" => true,
+ "is_admin" => false,
+ "is_moderator" => false,
"locked" => false,
"default_scope" => "public",
"no_rich_text" => false,
"cover_photo" => banner,
"background_image" => nil,
"is_local" => true,
+ "is_admin" => false,
+ "is_moderator" => false,
"locked" => false,
"default_scope" => "public",
"no_rich_text" => false,
"cover_photo" => banner,
"background_image" => nil,
"is_local" => true,
+ "is_admin" => false,
+ "is_moderator" => false,
"locked" => false,
"default_scope" => "public",
"no_rich_text" => false,
"cover_photo" => banner,
"background_image" => nil,
"is_local" => true,
+ "is_admin" => false,
+ "is_moderator" => false,
"locked" => false,
"default_scope" => "public",
"no_rich_text" => false,