ArthurAtangana / capstone-voting-system

0 stars 0 forks source link

Admin Account Registration #16

Open its-jasmine opened 5 days ago

its-jasmine commented 5 days ago

Much of the back-end required for admin acount registration is in place within my PR #14 . The code was generalized such that either type of account could be created, however the only instances that are currently being used for random selection of a "blank account" are Voter accounts.

The missing piece here would be to have a secondary input for admin sign in keys, such that they could follow the same workflow, and their key could be verified againts an admin keylist, to ensure that they are instantiating an Admin Account.

For MVP, I propose that we simply hard code one admin user who is stored for the poll, and worry about additional admin accounts later, as this does not heavily pertain to the key objectives of the project.

Do we agree with this simplification? If so, I can add this into my PR as well.

Rebecca-Elliott commented 19 hours ago

I agree with the simplification.