Page MenuHomePhabricator

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

Authored by epriestley on Feb 7 2018, 4:08 PM.
Tags
None
Referenced Files
F15536698: D19021.diff
Thu, Apr 24, 10:50 AM
F15488706: D19021.id45616.diff
Fri, Apr 11, 1:55 AM
F15470390: D19021.id45590.diff
Fri, Apr 4, 9:45 PM
F15465527: D19021.id45616.diff
Wed, Apr 2, 8:07 PM
F15449260: D19021.id45590.diff
Fri, Mar 28, 9:11 AM
F15448417: D19021.id45616.diff
Fri, Mar 28, 4:46 AM
F15437365: D19021.id.diff
Tue, Mar 25, 7:01 PM
F15432944: D19021.id45590.diff
Mar 24 2025, 8:26 PM
Subscribers
None

Details

Summary

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

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable