Subterfuge-Revived / Remake-Backend

Server side validation and API
Creative Commons Zero v1.0 Universal
10 stars 1 forks source link

Create user roles #37

Open QuinnBast opened 3 years ago

QuinnBast commented 3 years ago

Enhancement Description

Certain users should have elevated access within the game. The database should be designed to allow us to assign roles to users.

Solution

Two possible ways:

The possible roles should be: player author -- Allows user to create blog posts on the website. Allows user to view list of reported players to handle. Temporarily ban players for 12 hours. moderator -- Allows user to see ended games they were not in. Allows the user to permanently ban a player's account. admin -- Allows user to view ongoing games they are not in. Allows the user to kick players from a game. Allows player to unban accounts.