anchor.diff:              oz_endpoint:auth_request(Client, URN, get),
           Proplist = json_utils:decode(ResponseBody),
           Privileges = proplists:get_value(<<"privileges">>, Proplist),
  -        {ok, Privileges}
  +        {ok, decode_privileges(Privileges)}
       end).
   
   %%--------------------------------------------------------------------
  
positive.code:             oz_endpoint:auth_request(Client, URN, get),
          Proplist = json_utils:decode(ResponseBody),
          Privileges = proplists:get_value(<<"privileges">>, Proplist),
          {ok, Privileges}
      end).
  
  %%--------------------------------------------------------------------
  
negative.code:             providers_supports = proplists:get_value(<<"providersSupports">>, Proplist)
          },
          {ok, SpaceDetails}
      end).
  
  %%--------------------------------------------------------------------
  %% @doc @private Translates list of privilege binaries to privilege atoms.
  %% @end
  %%--------------------------------------------------------------------
  -spec decode_privileges(List :: [binary()]) -> [privileges:group_privilege()].
  decode_privileges(List) ->
      lists:map(fun(Binary) -> binary_to_atom(Binary, latin1) end, List).