Page MenuHomePhabricator

Remove all "ObjectHasFile" edge reads and writes
ClosedPublic

Authored by epriestley on May 12 2022, 10:15 PM.
Tags
None
Referenced Files
F13524904: D21819.diff
Fri, Jul 26, 11:32 AM
Unknown Object (File)
Tue, Jul 23, 12:43 AM
Unknown Object (File)
Mon, Jul 22, 1:25 PM
Unknown Object (File)
Mon, Jul 15, 9:04 PM
Unknown Object (File)
Mon, Jul 15, 3:17 PM
Unknown Object (File)
Wed, Jul 10, 7:30 AM
Unknown Object (File)
Mon, Jul 8, 2:45 AM
Unknown Object (File)
Sun, Jul 7, 4:55 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.