anchor.diff:  
   %% @private
   -spec validate_delete(middleware:req(), middleware:entity()) -> ok | no_return().
  -validate_delete(#op_req{auth = Auth, gri = #gri{id = Guid, aspect = As}}, _) when
  +validate_delete(#op_req{gri = #gri{id = Guid, aspect = As}}, _) when
       As =:= instance;
       As =:= xattrs;
       As =:= json_metadata;
       As =:= rdf_metadata
   ->
  -    assert_file_managed_locally(Auth, Guid).
  +    assert_file_managed_locally(Guid).
   
   
   %%--------------------------------------------------------------------
  
positive.code:     SpaceId = file_id:guid_to_space_id(maps:get(<<"parent">>, Data)),
      middleware_utils:assert_space_supported_locally(SpaceId);
  
  validate_create(#op_req{auth = Auth, gri = #gri{id = Guid, aspect = As}}, _) when
      As =:= attrs;
      As =:= xattrs;
      As =:= json_metadata;
      As =:= rdf_metadata
  ->
      assert_file_managed_locally(Auth, Guid);
  
  validate_create(#op_req{gri = #gri{aspect = object_id}}, _) ->
      % File path must have been resolved to guid by rest_handler already (to
  
negative.code:     As =:= transfers;
      As =:= download_url
  ->
      assert_file_managed_locally(Guid).
  
  
  %%--------------------------------------------------------------------
  