Closed casperlundberg closed 1 year ago
Should we have an admin page? cuz as I understand from the backend we just need to send a nickname, if it is Admin then we get another queue? @casperlundberg
I believe that your understanding is correct, for some nickname (i.e "LMS123") the user gets privileges to manipulate the queue.
Maybe we could just check that a user is an admin and render the "admin" locally since we probably won't have passwords and such. Then, just send the API calls from the admin queue and add eventual buttons along with the current ones if they don't fit in the queue-div
Should restart server be implemented?
I don't think it is necessary so focus on other things to get everything ready
A local easy-login in the form of some simple hardcoded password was requested so the owners (LMS) can go in and modify the queue and restart the server (if necessary).