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:
kor-elf committed 2023-07-02 16:07:49 +06:00
1 parent 0073dffc28
commit d0bd480dc1
1 file changed
+8
+8
View File
@@ -0,0 +1,8 @@
<?php declare(strict_types=1);
namespace App\Enums;
enum SystemRole: string
{
case Admin = 'admin';
}