fixthestatusquo / archive-proca-backend

Backend for the ultimate petition/campaigning tool
GNU Affero General Public License v3.0
7 stars 2 forks source link

Create admin accounts from the command line. #123

Closed aaronelliotross closed 3 years ago

aaronelliotross commented 3 years ago

Hi!

This is a simple (ish?) script to create a User (if needed), a Staffer (if needed) and grant :admin permissions.

If it seems useful, let me know if you have changes - my goal was really to code something in the project! but it's the first time I've written anything in Elixir.

If it doesn't seem useful, just nuke the PR !

=)

marcinkoziej commented 3 years ago

that's awesome!