Open DanielOaks opened 7 years ago
What would admin/regular user separation look like?
I think that the same method that 'The Lounge' uses could be appropriate here - start with no users by default, but expose a command that allows for user addition - something like bnc user add biox
would feel right to me.
take stock of this, how we store whether users are admin or not, making sure there's always one admin user available, etc.
maybe we should have a cli command that just adds an admin user to the existing db for if the db gets a bit stuffed or if someone forgets their admin creds?