A new enumeration 'SystemRole' has been created for user roles. For now, it only contains one case 'Admin'. This list is intended to designate system roles that cannot be removed.
This commit is contained in:
parent
0073dffc28
commit
d0bd480dc1
8
app/Enums/SystemRole.php
Normal file
8
app/Enums/SystemRole.php
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?php declare(strict_types=1);
|
||||||
|
|
||||||
|
namespace App\Enums;
|
||||||
|
|
||||||
|
enum SystemRole: string
|
||||||
|
{
|
||||||
|
case Admin = 'admin';
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user