anchor.diff:  ).
   
   
  +
   %%%===================================================================
   %%% 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) ->
  
positive.code: -include("onepanel_test_rest.hrl").
  -include_lib("ctool/include/test/assertions.hrl").
  -include_lib("ctool/include/test/performance.hrl").
  
  %% export for ct
  -export([all/0, init_per_suite/1, init_per_testcase/2,
  
negative.code:     end).
  
  
  get_should_return_current_cluster_members_count_test(Config) ->
      ?eachHost(Config, fun(Host) ->
          Expected = #{
              <<"usersCount">> => 1, <<"effectiveUsersCount">> => 2,
              <<"groupsCount">> => 3, <<"effectiveGroupsCount">> => 4
          },
          {_, _, _, JsonBody} = ?assertMatch({ok, 200, _, _},
              onepanel_test_rest:auth_request(
                  Host, <<"/cluster/members_summary">>, get,
                  ?OZ_OR_ROOT_AUTHS(Host, [?CLUSTER_VIEW])
              )
          ),
          onepanel_test_rest:assert_body(JsonBody, Expected)
      end).
  
  
  get_should_return_provider_info_test(Config) ->
      Expected = #{
          <<"id">> => <<?PROVIDER_ID>>,
          <<"name">> => <<"providerName">>,
          <<"online">> => true,
          <<"domain">> => <<"providerDomain">>,
          <<"geoLongitude">> => 42.0,
          <<"geoLatitude">> => 7.0,
          <<"cluster">> => ?PROVIDER_CLUSTER_ID
      },
      ?eachHost(Config, fun(Host) ->
          {_, _, _, JsonBody} = ?assertMatch({ok, 200, _, _},
              onepanel_test_rest:auth_request(
  