anchor.diff:              providers_supports = proplists:get_value(<<"providersSupports">>, Proplist)
           },
           {ok, SpaceDetails}
  -    end).+    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).
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:             oz_endpoint:auth_request(Client, URN, get),
          Proplist = json_utils:decode(ResponseBody),
          Privileges = proplists:get_value(<<"privileges">>, Proplist),
          {ok, decode_privileges(Privileges)}
      end).
  
  %%--------------------------------------------------------------------
  