Page MenuHomePhabricator

Remove all "ObjectHasFile" edge reads and writes
ClosedPublic

Authored by epriestley on May 12 2022, 10:15 PM.
Tags
None
Referenced Files
F18228319: D21819.id.diff
Wed, Aug 20, 7:23 AM
F18220141: D21819.id51999.diff
Tue, Aug 19, 2:02 PM
F18213039: D21819.diff
Tue, Aug 19, 4:18 AM
F18165712: D21819.diff
Fri, Aug 15, 8:51 AM
F18106704: D21819.id.diff
Sun, Aug 10, 11:12 PM
F18044653: D21819.diff
Sun, Aug 3, 7:35 AM
F17794633: D21819.diff
Thu, Jul 24, 11:55 PM
F17735298: D21819.diff
Jul 20 2025, 1:38 PM
Subscribers
Restricted Owners Package

Details

Reviewers
None
Maniphest Tasks
Restricted Maniphest Task
Commits
rPc25a8fabfc1e: 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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Owners added a subscriber: Restricted Owners Package.May 12 2022, 10:15 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 19 2022, 8:21 PM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.