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
F18362607: D17634.id42408.diff
Wed, Aug 27, 2:30 PM
F18362438: D17634.diff
Wed, Aug 27, 1:53 PM
F18284153: D17634.diff
Sat, Aug 23, 3:57 AM
F18105197: D17634.diff
Sun, Aug 10, 4:49 PM
F18033169: D17634.diff
Sun, Aug 3, 12:40 AM
F18026675: D17634.id.diff
Sat, Aug 2, 10:12 PM
F17940578: D17634.id42407.diff
Thu, Jul 31, 4:34 AM
F17933426: D17634.id42408.diff
Wed, Jul 30, 9:17 PM
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