Page MenuHomePhabricator

Fix "Author's projects" Herald rules for revisions and diffs
ClosedPublic

Authored by epriestley on Sep 16 2017, 12:48 AM.
Tags
None
Referenced Files
F14763144: D18619.diff
Thu, Jan 23, 9:37 AM
Unknown Object (File)
Mon, Jan 13, 4:13 AM
Unknown Object (File)
Wed, Dec 25, 8:27 AM
Unknown Object (File)
Tue, Dec 24, 8:49 PM
Unknown Object (File)
Dec 7 2024, 8:26 PM
Unknown Object (File)
Dec 7 2024, 3:59 PM
Unknown Object (File)
Dec 7 2024, 10:50 AM
Unknown Object (File)
Nov 29 2024, 9:16 AM
Subscribers
None

Details

Summary

See PHI71. These didn't get properly updated when we wrote Subprojects and Milestones, and should use materialized members, not raw members. Swap the query so projects you are an indirect member of (e.g., milestones you are a member of the parent for, and parent projects you are a member of a subproject of) are included in the result list.

Also fix a bad typeahead datasource.

Test Plan
  • Ran a dry run with the test console, saw project PHIDs for milestones and parent projects in the raw field value.
  • Tried to set "Author's projects" to a user, no longer could.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable