Page MenuHomePhabricator

Remove all "ObjectHasFile" edge reads and writes
ClosedPublic

Authored by epriestley on May 12 2022, 10:15 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 8, 4:42 PM
Unknown Object (File)
Sun, Dec 8, 1:20 AM
Unknown Object (File)
Sat, Dec 7, 3:46 PM
Unknown Object (File)
Thu, Dec 5, 3:51 AM
Unknown Object (File)
Wed, Dec 4, 8:40 AM
Unknown Object (File)
Nov 19 2024, 10:14 PM
Unknown Object (File)
Nov 17 2024, 9:16 PM
Unknown Object (File)
Nov 16 2024, 8:35 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.