Add user roles system
This commit is contained in:
11
app/Enums/UserRole.php
Normal file
11
app/Enums/UserRole.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum UserRole: string
|
||||
{
|
||||
case ADMINISTRATOR = 'admin';
|
||||
case MODERATOR = 'moderator';
|
||||
case SUPPORTER = 'supporter';
|
||||
case BANNED = 'banned';
|
||||
}
|
||||
Reference in New Issue
Block a user