Page MenuHomePhabricator

Remove all "ObjectHasFile" edge reads and writes
ClosedPublic

Authored by epriestley on May 12 2022, 10:15 PM.
Tags
None
Referenced Files
F15539421: D21819.diff
Fri, Apr 25, 1:31 AM
F15536279: D21819.diff
Thu, Apr 24, 8:50 AM
F15523592: D21819.id52027.diff
Mon, Apr 21, 2:26 AM
F15503552: D21819.id52027.diff
Mon, Apr 14, 10:42 AM
F15502979: D21819.diff
Mon, Apr 14, 5:52 AM
F15498737: D21819.id51999.diff
Sun, Apr 13, 2:05 PM
F15496699: D21819.id.diff
Sun, Apr 13, 7:40 AM
F15491532: D21819.diff
Sat, Apr 12, 4:40 AM
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.