HomePhabricator

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
epriestleyAuthored on May 12 2022, 10:10 PM
epriestleyPushed on May 19 2022, 8:21 PM
Differential Revision
D21819: Remove all "ObjectHasFile" edge reads and writes
Parents
rP0329df0fa8d4: Copy file attachment edges to new storage
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task