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
Unknown Object (File)
Wed, Jul 29, 10:24 PM
Unknown Object (File)
Mon, Jul 6, 5:02 PM
Unknown Object (File)
Fri, Jul 3, 2:25 PM
Unknown Object (File)
May 30 2026, 11:47 AM
Unknown Object (File)
May 29 2026, 4:54 PM
Unknown Object (File)
Apr 14 2026, 6:26 PM
Unknown Object (File)
Apr 4 2026, 8:41 PM
Unknown Object (File)
Mar 10 2026, 8:27 PM
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
Branch
vote1x
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 23195
Build 31860: Run Core Tests
Build 31859: arc lint + arc unit

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.