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
F18848948: D19021.diff
Thu, Oct 30, 7:01 AM
F18821852: D19021.diff
Thu, Oct 23, 2:14 AM
F18758416: D19021.id45590.diff
Sun, Oct 5, 10:17 PM
F18745426: D19021.id45590.diff
Fri, Oct 3, 6:44 AM
F18732709: D19021.id45616.diff
Sep 30 2025, 7:26 PM
F18627786: D19021.id45616.diff
Sep 16 2025, 4:47 AM
F18616164: D19021.diff
Sep 14 2025, 4:28 PM
F18581612: D19021.id.diff
Sep 11 2025, 6:30 AM
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