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: 
          run_multi_provider_perm_test(
              Nodes, User, Guid, SetPerms, lfm_permissions_test_utils:complementary_perms(P1W2, Guid, SetPerms),
              ?EACCES, <<"denied acl perm">>, Config
          ),
          run_multi_provider_perm_test(
              Nodes, User, Guid, SetPerms, SetPerms,
  
negative.code:     SessId = ?config({session_id, {User, ?GET_DOMAIN(Node)}}, Config),
      UserCtx = rpc:call(Node, user_ctx, new, [SessId]),
  
      rpc:call(Node, ?MODULE, check_perms, [
          UserCtx, file_ctx:new_by_guid(Guid), Perms
      ]).
  
  
  check_perms(UserCtx, FileCtx, Perms) ->
      try
          fslogic_authz:ensure_authorized(UserCtx, FileCtx, Perms),
          ok
      catch _Type:Reason ->
          {error, Reason}
      end.
  
  
  -spec for(pos_integer(), term()) -> term().
  