Open Rembane opened 5 years ago
We check that a user has the right role for them to gain access to the admin interface, and a user can easily change this and I'm cool with that, but the user shouldn't be able to send any commands to the server.
The code: https://github.com/Rembane/lemmingpants/blob/master/frontend/src/Components/Admin.purs#L73
We check that a user has the right role for them to gain access to the admin interface, and a user can easily change this and I'm cool with that, but the user shouldn't be able to send any commands to the server.
The code: https://github.com/Rembane/lemmingpants/blob/master/frontend/src/Components/Admin.purs#L73