Page MenuHomePhabricator

Fix policy behavior of "slowvote.info" API method
ClosedPublic

Authored by epriestley on Jul 30 2019, 6:53 PM.
Tags
None
Referenced Files
F11510923: D20684.diff
Sun, Jan 29, 12:18 AM
Unknown Object (File)
Tue, Jan 24, 1:53 PM
Unknown Object (File)
Sat, Jan 21, 12:11 PM
Unknown Object (File)
Thu, Jan 19, 8:34 PM
Unknown Object (File)
Thu, Jan 19, 3:07 PM
Unknown Object (File)
Thu, Jan 19, 3:07 PM
Unknown Object (File)
Thu, Jan 19, 12:41 PM
Unknown Object (File)
Thu, Jan 19, 11:55 AM
Subscribers
None

Details

Summary

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

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

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

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.