Skip to content

[MP-221] proxy voting

David Kettler requested to merge mp-221-proxy-voting into dev

@DSASanFrancisco/portal-members

SUMMARY

API support for the Nominate-a-Proxy member experiences described here: membership_ui!252 (merged)

  • New ProxyTokens table that stores proxy nomination state (who wants to nominate a proxy, for what meeting, along iwth who has accepted or rejected that nomination)
  • CRUD methods for ProxyTokens: POST /meetings/<int:meeting_id>/proxy-token to start a nomination process, GET /meetings/<int:meeting_id>/proxy-token/<string:proxy_token_id> to retrieve state info about that nomination process, and POST /meetings/<int:meeting_id>/proxy-token/<string:proxy_token_id>/<string:verb> to accept or reject the nomination
  • Email the nominating member when a nomination is accepted or rejected
  • Extend the GET meetings/<int:meeting_id>/attendees API to include num_votes for each attendee (which, in tandem with is_eligible, explains if they can vote on their own behalf, along with if they can vote on N proxy's behalves)

Merge request reports