Added ban/unban endpoint
please just import the delete statement instead of doing diesel::delete
here so we have consistency in the codebase
Added ban/unban endpoint
This should return a 400 (bad request) on an already banned user, its a bad request as its not forbidden for the user to do it, its just not a possibility for someone to be banned twice
Generate device names in the backend
I dont know if this needs more than what you did, should we have the possibility of having a custom field or not like "Generated Name - Client Specified"
Check if you are trying to kick owner