anchor.diff:      multi_provider_permission_cache_test/1,
       expired_session_test/1
   ]).
  +% Export for use in rpc
  +-export([check_perms/3]).
   
   all() ->
       ?ALL([
  
positive.code:     SessId = ?config({session_id, {User, ?GET_DOMAIN(Node)}}, Config),
      UserCtx = rpc:call(Node, user_ctx, new, [SessId]),
  
      rpc:call(Node, fslogic_authz, ensure_authorized, [
          UserCtx, file_ctx:new_by_guid(Guid), Perms
      ]).
  
  
  -spec for(pos_integer(), term()) -> term().
  
negative.code:     lists:foreach(fun(TestedPerm) ->
          lists:foreach(fun(Node) ->
              try
                  ?assertMatch(
                      ExpResult,
                      check_perms(Node, User, Guid, [TestedPerm], Config),
                      ?ATTEMPTS
                  )
              catch _:Reason ->
                  ct:pal(
                      "PERMISSIONS TESTS FAILURE~n"
  