Fix reverting to wrong policy when canceling out of the API token custom policy editor.

Review Request #12668 — Created Oct. 4, 2022 and submitted

Information

Review Board
release-4.0.x

Reviewers

When canceling out of the API token custom policy editor, the policy would
revert to the 2nd previous value instead of the most previous value. This made
it so that sometimes the policy would revert to the wrong value. This change
fixes that so that the policy reverts to the most previous value when
canceling out of the custom policy editor.

  • Manually tested canceling out of the policy editor and made sure
    the right policy was reverted to.
Summary ID
Fix reverting to wrong policy when canceling out of the API token custom policy editor.
384d8a467f918f9493f42b99b8f7b3f8be4b2563
david
  1. Ship It!
  2. 
      
maubin
Review request changed
Status:
Completed
Change Summary:
Pushed to release-4.0.x (45da4c5)