Open Vorlent opened 4 years ago
I added rudimentary support but without user accounts it is trivial to bypass the ban because relevant user details are stored in local storage and can always be deleted. Additionally I'm having trouble getting a token with ROLE_ADMIN which means I can't actually use the feature yet. I have also decided against kicking as a separate feature simply because banning with a low expiration of 10 min should be equivalent.
Clicking on avatars should open a profile menu for other users with a kick and ban button.
The ban should be IP based for now.