Page MenuHomePhabricator

Clean up ProjectQuery when viewer is logged-out or omnipotent
ClosedPublic

Authored by epriestley on Dec 27 2015, 12:17 PM.
Tags
None
Referenced Files
F15345105: D14892.id35989.diff
Mon, Mar 10, 8:31 AM
Unknown Object (File)
Tue, Feb 25, 12:48 AM
Unknown Object (File)
Mon, Feb 24, 5:01 AM
Unknown Object (File)
Sun, Feb 23, 9:56 PM
Unknown Object (File)
Sat, Feb 22, 4:40 PM
Unknown Object (File)
Tue, Feb 11, 10:36 PM
Unknown Object (File)
Sun, Feb 9, 2:39 PM
Unknown Object (File)
Feb 9 2025, 12:17 AM
Subscribers
None

Details

Summary

Ref T10010. When the viewer is logged-out or omnipotent, we can skip this query.

(Currently we issue a silly query like src = X AND type = Y AND dst = '', which will never return results.)

Test Plan
  • Viewed projects as normal user and logged-out user.
  • Ran unit tests.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Clean up ProjectQuery when viewer is logged-out or omnipotent.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Dec 27 2015, 3:00 PM
This revision was automatically updated to reflect the committed changes.