CodeWithAloha / HIERR

A Human-Centered Digital Engagement Process for the Hawai‘i Economic Recovery & Resilience Project with the State Office of Planning & Sustainable Development
https://hierr.vercel.app/
8 stars 7 forks source link

Authn/authz for POLIS convert route #110

Closed dinoboy197 closed 1 year ago

dinoboy197 commented 1 year ago

Fixes #77

The user attempting to export data through /polisconvert must be logged in, and their email address must match one of the emails listed in the AUTHORIZED_POLIS_CONVERT_EMAILS_FILE referenced in the .env.local file.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hierr ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 6, 2023 9:33pm
dinoboy197 commented 1 year ago

@avenmia I think something might be wrong with the build overall. Node.js 14.x is failing with some issue about an ESRI library, which has nothing to do with my PR. Did something get merged in during a previous commit that introduced a build bug?

dinoboy197 commented 1 year ago

This worked as expected for me. Could we add either on the page or in the readme that the participant votes csv is the one that is expected?

Yep, it's already in the readme here from a previous PR, but it's a good idea to repeat that on the convert page itself. Done!