Page MenuHomePhabricator

Simplify ProjectQuery handling of viewer membership
ClosedPublic

Authored by epriestley on Dec 23 2015, 11:59 AM.
Tags
None
Referenced Files
F19813993: D14859.diff
Wed, Mar 4, 11:51 AM
F19260901: D14859.id35924.diff
Dec 22 2025, 4:30 PM
F19087280: D14859.diff
Dec 3 2025, 12:12 AM
F19056412: D14859.diff
Nov 28 2025, 7:36 PM
F19055721: D14859.diff
Nov 28 2025, 6:11 PM
F18904415: D14859.id.diff
Nov 8 2025, 9:10 AM
F18894733: D14859.diff
Nov 7 2025, 2:09 PM
F18870171: D14859.diff
Nov 4 2025, 3:52 PM
Subscribers
None

Details

Summary

Ref T10010. Currently, we do an unusual JOIN to make testing for viewer membership in projects a little cheaper.

This won't work as-is once we have subprojects, so standardize, simplify, and cover it with more tests for now. (I may be able to get a similar optimization later, but want a correct implementation first.)

Test Plan

This change should create no behavioral differences.

  • Added tests.
  • Ran tests.
  • Viewed projects.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Simplify ProjectQuery handling of viewer membership.
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 23 2015, 4:36 PM
This revision was automatically updated to reflect the committed changes.