cclrobotics / ARTBot

Project to allow submissions of agar art and conversion of those submissions to bot-readable
MIT License
8 stars 5 forks source link

Admin user management #105

Closed tsdobbs closed 3 years ago

tsdobbs commented 3 years ago

Differentiate between users (people who submit art) and super users (people who print art or act as admins for the website). These are separated into the different tables as an added form of data security. On DB upgrade, a default user called ADMIN is automatically created, the password for which is pulled from the environment variables. So now users trying this out for themselves can use the GUI for printing right away.

Added API endpoints for super user management.