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
F18748236: D14892.id36000.diff
Fri, Oct 3, 8:02 PM
F18745141: D14892.id.diff
Fri, Oct 3, 5:27 AM
F18742531: D14892.diff
Thu, Oct 2, 8:03 PM
F18737514: D14892.id36000.diff
Wed, Oct 1, 11:12 AM
F18642632: D14892.diff
Fri, Sep 19, 12:23 AM
F18627416: D14892.id35989.diff
Sep 16 2025, 3:57 AM
F18622253: D14892.id35989.diff
Sep 15 2025, 10:58 AM
F18412095: D14892.id.diff
Aug 30 2025, 6:19 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.