Page MenuHomePhabricator

When users resign from revisions, stop expanding projects/packages to include them

Authored by epriestley on Feb 7 2018, 4:08 PM.
Referenced Files
F12176489: D19021.id45590.diff
Sun, Sep 10, 9:49 AM
F12169886: D19021.diff
Thu, Sep 7, 2:10 PM
F12166340: D19021.diff
Thu, Sep 7, 1:23 AM
Unknown Object (File)
Jul 16 2023, 9:36 AM
Unknown Object (File)
Jul 14 2023, 3:42 PM
Unknown Object (File)
Jun 28 2023, 1:54 AM
Unknown Object (File)
Jun 21 2023, 9:54 PM
Unknown Object (File)
Jun 19 2023, 4:10 AM



Depends on D19019. Ref T13053. Fixes T12689. See PHI178.

Currently, if @alice resigns from a revision but #alice-fan-club is still a subscriber or reviewer, she'll continue to get mail. This is undesirable.

When users are associated with an object but have explicitly disengaged in an individal role (currently, only resign in audit/differential) mark them "unexpandable", so that they can no longer be included through implicit membership in a group (a project or package).

@alice can still get mail if she's a explicit recipient: as an author, owner, or if she adds herself back as a subscriber.

Test Plan
  • Added @ducker and #users-named-ducker as reviewers. Ducker got mail.
  • Resigned as ducker, stopped getting future mail.
  • Subscribed explicitly, got mail again.
  • (Plus some var_dump() sanity checking in the internals.)

Diff Detail

rP Phabricator
Lint Not Applicable
Tests Not Applicable