Page MenuHomePhabricator

Simplify ProjectQuery handling of viewer membership
ClosedPublic

Authored by epriestley on Dec 23 2015, 11:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Feb 11, 10:51 PM
Unknown Object (File)
Sun, Feb 9, 12:15 AM
Unknown Object (File)
Thu, Feb 6, 7:34 AM
Unknown Object (File)
Mon, Feb 3, 5:37 AM
Unknown Object (File)
Thu, Jan 30, 10:28 AM
Unknown Object (File)
Tue, Jan 28, 12:31 AM
Unknown Object (File)
Sun, Jan 26, 7:17 AM
Unknown Object (File)
Sun, Jan 26, 2:07 AM
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.