anchor.diff:          }}, get_index_via_rest(Config, Worker, ?SPACE_ID, IndexName), ?ATTEMPTS)
       end, Workers),
   
  -    % delete on other provider
  +    %% DELETE
  +
  +    % deleting index without SPACE_MANAGE_INDICES privilege should fail
  +    initializer:testmaster_mock_space_user_privileges(Workers, ?SPACE_ID, UserId, AllPrivs -- [?SPACE_MANAGE_INDICES]),
  +    ?assertMatch(ErrorForbidden, remove_index_via_rest(Config, WorkerP2, ?SPACE_ID, IndexName)),
  +    ?assertMatch([IndexName], list_indices_via_rest(Config, WorkerP1, ?SPACE_ID, 100), ?ATTEMPTS),
  +    ?assertMatch([IndexName], list_indices_via_rest(Config, WorkerP2, ?SPACE_ID, 100), ?ATTEMPTS),
  +
  +    % deleting index with SPACE_MANAGE_INDICES privilege should succeed
  +    initializer:testmaster_mock_space_user_privileges(Workers, ?SPACE_ID, UserId, [?SPACE_MANAGE_INDICES, ?SPACE_VIEW_INDICES]),
       ?assertMatch(ok, remove_index_via_rest(Config, WorkerP2, ?SPACE_ID, IndexName)),
       ?assertMatch([], list_indices_via_rest(Config, WorkerP1, ?SPACE_ID, 100), ?ATTEMPTS),
       ?assertMatch([], list_indices_via_rest(Config, WorkerP2, ?SPACE_ID, 100), ?ATTEMPTS).
  +
   
   creating_index_with_invalid_params_should_fail(Config) ->
       Workers = ?config(op_worker_nodes, Config),
  
positive.code:         ?assertEqual(lists:sort([Guid1, Guid2]), Query(Worker, QueryOptions2), ?ATTEMPTS)
      end, Workers).
  
  query_file_popularity_index(Config) ->
      [WorkerP1 | _] = ?config(op_worker_nodes, Config),
      [{SpaceId, _SpaceName} | _] = ?config({spaces, <<"user1">>}, Config),
  
negative.code:         {#{providers => [<<"ASD">>]}, ?ERROR_SPACE_NOT_SUPPORTED_BY(<<"ASD">>)}
      ]).
  
  
  updating_index_with_invalid_params_should_fail(Config) ->
      Workers = [WorkerP1 | _] = ?config(op_worker_nodes, Config),
      IndexName = ?INDEX_NAME(?FUNCTION_NAME),
  