anchor.diff:  
       test_utils:mock_expect(OpNodes, service_oneprovider, get_auth_token,
           fun() -> <<"providerMacaroon">> end),
  +    test_utils:mock_expect(OpNodes, service_oneprovider, get_id,
  +        fun() -> <<?PROVIDER_ID>> end),
   
       onepanel_test_rest:set_up_default_users(Config),
       onepanel_test_rest:mock_token_authentication(Config),
   
       test_utils:mock_expect(OzNodes, service_oz_worker, get_details,
           fun() -> #{name => undefined, domain => OzDomain} end),
  -
  -    test_utils:mock_expect(OpNodes, clusters, get_id,
  -        fun() -> ?PROVIDER_CLUSTER_ID end),
   
       test_utils:mock_expect(OzNodes, rpc, call, fun
           (_Node, user_logic, get_clusters, [_Client]) ->
               {ok, maps:keys(?CLUSTERS)};
           (_Node, cluster_logic, get_protected_data, [_Client, ClusterId]) ->
               {ok, maps:get(ClusterId, ?CLUSTERS)};
  +
  +        (_Node, cluster_logic, get_users, [_Client, _ClusterId]) ->
  +            {ok, [<<"userId1">>]};
  +        (_Node, cluster_logic, get_eff_users, [_Client, _ClusterId]) ->
  +            {ok, [<<"userId1">>, <<"userId2">>]};
  +        (_Node, cluster_logic, get_groups, [_Client, _ClusterId]) ->
  +            {ok, [<<"groupId1">>, <<"groupId2">>, <<"groupId3">>]};
  +        (_Node, cluster_logic, get_eff_groups, [_Client, _ClusterId]) ->
  +            {ok, [<<"groupId1">>, <<"groupId2">>, <<"groupId3">>, <<"groupId4">>]};
  +
           (_Node, provider_logic, get_protected_data, [_Client, ProviderId]) ->
               ?assertEqual(<<?PROVIDER_ID>>, ProviderId),
               {ok, ?PROVIDER_DETAILS_RPC};
  
positive.code:                 ?OZ_AUTHS(Host, [])
              )
          ),
          Expected = #{
              <<"id">> => <<?PROVIDER_ID>>,
              <<"name">> => <<"providerName">>,
              <<"online">> => true,
              <<"domain">> => <<"providerDomain">>,
              <<"geoLongitude">> => 42.0,
              <<"geoLatitude">> => 7.0,
              <<"cluster">> => ?PROVIDER_CLUSTER_ID
          },
          onepanel_test_rest:assert_body(JsonBody, Expected)
      end).
  
  
negative.code: ).
  
  
  
  %%%===================================================================
  %%% Test functions
  %%%===================================================================
  
  method_should_return_forbidden_error_test(Config) ->
      ?eachHost(Config, fun(Host) ->
          ?assertMatch({ok, 403, _, _}, onepanel_test_rest:auth_request(
              Host, <<"/cluster/invite_user_token">>, post,
              ?REGULAR_AUTHS(Host) ++
              ?OZ_AUTHS(Host, privileges:cluster_admin() -- [?CLUSTER_ADD_USER])
          )),
          ?assertMatch({ok, 403, _, _}, onepanel_test_rest:auth_request(
              Host, <<"/cluster/members_summary">>, get,
              ?REGULAR_AUTHS(Host) ++
              ?OZ_AUTHS(Host, privileges:cluster_admin() -- [?CLUSTER_VIEW])
          )),
          ?assertMatch({ok, 403, _, _}, onepanel_test_rest:auth_request(
              Host, <<"/cluster">>, get,
              ?REGULAR_AUTHS(Host)
          ))
      end).
  
  
  local_user_should_get_forbidden_error_test(Config) ->
  