[MP-221] proxy voting
@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, andPOST /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 includenum_votes
for each attendee (which, in tandem withis_eligible
, explains if they can vote on their own behalf, along with if they can vote on N proxy's behalves)