Page MenuHomePhabricator

Remove all "ObjectHasFile" edge reads and writes
ClosedPublic

Authored by epriestley on May 12 2022, 10:15 PM.
Tags
None
Referenced Files
F19513444: D21819.diff
Tue, Jan 13, 12:54 PM
F19468582: D21819.id.diff
Sun, Jan 4, 6:44 AM
F19465265: D21819.diff
Sat, Jan 3, 4:04 AM
F19455738: D21819.id.diff
Wed, Dec 31, 12:55 PM
F18972009: D21819.diff
Nov 15 2025, 12:59 PM
F18877097: D21819.diff
Nov 6 2025, 6:06 AM
F18875735: D21819.diff
Nov 5 2025, 7:02 PM
F18848907: D21819.id.diff
Oct 30 2025, 6:49 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.