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:
Leonid Nikitin 2023-07-02 16:07:49 +06:00
parent 0073dffc28
commit d0bd480dc1
Signed by: kor-elf
GPG Key ID: 7DE8F80C5CEC2C0D

8
app/Enums/SystemRole.php Normal file
View File

@ -0,0 +1,8 @@
<?php declare(strict_types=1);
namespace App\Enums;
enum SystemRole: string
{
case Admin = 'admin';
}