Page MenuHomePhabricator

Fix policy behavior of "" API method

Authored by epriestley on Jul 30 2019, 6:53 PM.



Ref T13350. This ancient API method is missing modern policy checks.

Test Plan
  • Set visibility of vote X to "Only: epriestley".
  • Called "" as another user.
  • Before: retrieved poll title and author.
  • After: policy error.
  • Called "" on a visible poll, got information before and after.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Jul 30 2019, 6:53 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jul 30 2019, 6:55 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.