HomePhorge

Remove all "ObjectHasFile" edge reads and writes

Description

Remove all "ObjectHasFile" edge reads and writes

Summary: Ref T13603. Migrate all code which interacts with the "ObjectHasFile" edge to use the "Attachments" table instead.

Test Plan:

  • Edited a paste's view policy, confirmed associated file secret was scrambled.
  • Verified I could still view paste content as a user who could not naturally view the underlying file.

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13603

Differential Revision: https://secure.phabricator.com/D21819

Details

Provenance
epriestley <git@epriestley.com>Authored on May 12 2022, 22:10
aviveyPushed on Tue, Jul 26, 15:02
aviveyPushed on Tue, Jul 26, 15:01
Differential Revision
D25040: merge phab/master -> phorge/master
Parents
rP0329df0fa8d4: Copy file attachment edges to new storage
Branches
Unknown
Tags
Unknown
Tasks
T15094: Catch up the master branch to upstream