anchor.diff:          fun(Provider) ->
               lists:member(Provider, UserProviders)
           end, Providers),
  -    Size = lists:sum(SupportSizes),
  +    TotalSize = lists:sum(SupportSizes),
       case HasViewPrivileges of
           false ->
               [
  
positive.code:                 {<<"name">>, Name},
                  {<<"isDefault">>, SpaceId =:= DefaultSpaceId},
                  {<<"hasViewPrivilege">>, false},
                  {<<"size">>, Size},
                  % TODO For now, return all providers so that user can see
                  % spaces of provider in go to your files tab.
                  % Must be solved better!
  
negative.code:                 {<<"name">>, Name},
                  {<<"isDefault">>, SpaceId =:= DefaultSpaceId},
                  {<<"hasViewPrivilege">>, true},
                  {<<"totalSize">>, TotalSize},
                  {<<"supportSizes">>, ProvidersSupports},
                  {<<"providers">>, ProvidersToDisplay}
              ]
      end.