Summary
As part of our effort to roll out Legislator Profiles, we want to enable elected officials to claim MAPLE accounts linked directly to their Legislative Profile (so they can enhance their pages with additional information and submit testimony). To that end, let's add a new "LEGISLATOR" profile type - that will be associated directly with a specific legislator at account creation.
Success Criteria
Open Questions ( for @mvictor55 )
- Should we mandate a statehouse email (e.g.
@mahouse.gov or @masenate.gov) for this accounts as a validation measure? We'll want staffers to be able to make this profile for their boss - will they have access to these emails for setup?
- Should Legislator-type profiles have access to the regular profile page in addition to the new and enhanced Legislator profile page, or should we just have the current profile page redirect to the new one for LEGISLATOR accounts?
- Legislator statehouse email addresses are available through the MA Legislature API - if someone signs up for an account with one of those emails and completes email verification, can we skip the manual verification step?
Additional Links
Summary
As part of our effort to roll out Legislator Profiles, we want to enable elected officials to claim MAPLE accounts linked directly to their Legislative Profile (so they can enhance their pages with additional information and submit testimony). To that end, let's add a new "LEGISLATOR" profile type - that will be associated directly with a specific legislator at account creation.
Success Criteria
LEGISLATORprofile type (alongsideUSER/ORG)LEGISLATORaccounts will be associated with a specificmemberCodefrom the MA Legislature API (e.g.KAD0) and store a few additional fields relevant only to Legislators (e.g.legislatorBiography,keyPriorities,memberCode)LEGISLATORas an account option when creating a new account (likeUSERorORG)memberCodeshould be stored on the profileORGrequest flow, newLEGISLATORaccounts should first be put into aPENDING_LEGISLATORstate. Just like with orgs, admins on our side will manually review new account requests and approve/deny them as appropriate. That flow is handled in a separate ticket.typeandmemberCodeof aLEGISLATORprofile should not be editable by the user after account creationlegislatorsfeature flagOpen Questions ( for @mvictor55 )
@mahouse.govor@masenate.gov) for this accounts as a validation measure? We'll want staffers to be able to make this profile for their boss - will they have access to these emails for setup?Additional Links