cityofaustin / atd-vz-data

The technology that powers the City of Austin's Vision Zero program
https://visionzero.austin.gov/viewer/
11 stars 3 forks source link

Toolbox script to block/unblock all users #1520

Closed johnclary closed 3 weeks ago

johnclary commented 3 weeks ago

this is a redo of https://github.com/cityofaustin/atd-vz-data/pull/1514 which i accidentally closed 👍

Associated issues

Testing

  1. The script by default executes in "dry run" mode, so you can safely test most of this without modifying users.
  2. Follow the instructions in the readme to setup your environment. You can find these variables in the Auth0 VZ CR3 and User Mgmt app item in 1pass. You can set your own email address as the ADMIN_USER_EMAIL value
  3. Try out the commands:
$ python update_users.py block
$ python update_users.py unblock

Ship list

johnclary commented 3 weeks ago

Thanks, y'all!