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
F19087293: D14892.diff
Dec 3 2025, 12:13 AM
F18924421: D14892.id36000.diff
Nov 9 2025, 5:42 PM
F18903367: D14892.id.diff
Nov 8 2025, 4:57 AM
F18899279: D14892.diff
Nov 7 2025, 7:39 PM
F18870470: D14892.id35989.diff
Nov 4 2025, 5:33 PM
F18835389: D14892.id35989.diff
Oct 26 2025, 3:33 PM
F18833775: D14892.id.diff
Oct 26 2025, 5:43 AM
F18824074: D14892.id36000.diff
Oct 23 2025, 2:18 PM
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
Branch
sub5
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 9812
Build 11807: Run Core Tests
Build 11806: arc lint + arc unit

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.