Page MenuHomePhabricator

Remove all "ObjectHasFile" edge reads and writes
ClosedPublic

Authored by epriestley on May 12 2022, 10:15 PM.
Tags
None
Referenced Files
F15391702: D21819.id52027.diff
Sat, Mar 15, 11:12 AM
F15391701: D21819.id51999.diff
Sat, Mar 15, 11:12 AM
F15391700: D21819.id.diff
Sat, Mar 15, 11:12 AM
F15390780: D21819.diff
Sat, Mar 15, 6:37 AM
F15382272: D21819.id52027.diff
Fri, Mar 14, 11:37 AM
F15379775: D21819.diff
Thu, Mar 13, 11:17 PM
F15377502: D21819.diff
Thu, Mar 13, 9:15 AM
F15360715: D21819.diff
Tue, Mar 11, 9:46 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.