Closed pmcfarlain closed 2 years ago
Admins can now edit the permissions levels of users. Disabled users (permissions = -1) can't log in. Blocked users (permissions = 0) can't post on message board or leaderboard (THE API CALLS FOR MESSAGE BOARD AND LEADERBOARD USAGE WILL NEED TO BE UNDER routes/unblocked FOR THIS FUNCTIONALITY TO WORK PROPERLY). Admins can also promote users to admins. Admins cannot edit permissions of other admins.
Create API calls that allow admins to edit permission levels of users.