Page MenuHomePhabricator

Fix scope of "Accept" when you don't check all the "Force Accept" boxes
ClosedPublic

Authored by epriestley on Apr 6 2017, 9:59 PM.
Tags
None
Referenced Files
F19247973: D17634.id42407.diff
Mon, Dec 22, 4:25 AM
F19130948: D17634.id42407.diff
Wed, Dec 10, 5:43 AM
F19033988: D17634.id.diff
Nov 25 2025, 12:11 PM
F19025037: D17634.diff
Nov 24 2025, 5:01 AM
F18945689: D17634.diff
Nov 11 2025, 6:45 PM
F18923300: D17634.id42407.diff
Nov 9 2025, 4:27 PM
F18915346: D17634.id42408.diff
Nov 9 2025, 7:39 AM
F18912070: D17634.id.diff
Nov 9 2025, 4:38 AM
Subscribers
None

Details

Summary

Ref T12272. I wrote this correctly, then broke it by adding the simplification which treats "accept the defaults" as "accept everything".

This simplification lets us render "epriestley accepted this revision." instead of "epriestley accepted this revision onbehalf of: long, list, of, every, default, reviewer, they, have, authority, over." so it's a good thing, but make it only affect the reviewers it's supposed to affect.

Test Plan
  • Did an accept with a force-accept available but unchecked.
  • Before patch: incorrectly accepted all possible reviewers.
  • After patch: accepted only checked reviewers.
  • Also checked the force-accept box, accepted, got a proper force-accept.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable