mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-08 11:15:09 -05:00
21 lines
601 B
PHP
21 lines
601 B
PHP
<?php
|
|
|
|
namespace App\Enums\Auth;
|
|
|
|
enum Permissions: string
|
|
{
|
|
case ADMIN_AREA = 'admin-area';
|
|
case VIEW_LOG = 'view-log';
|
|
case FILE_UPLOAD = 'file-upload';
|
|
case GAME_NEWS = 'game-news';
|
|
case VIEW_USERS = 'view-users';
|
|
case EDIT_USERS = 'edit-users';
|
|
case USER_BANS = 'user-bans';
|
|
// Access to the homepage while its in maintenance mode
|
|
case VIEW_MAINTENANCE = 'view-maintenance-mode';
|
|
case INBOX_MAILER = 'inbox-mailer';
|
|
case CHAT_REPORTS = 'chat-reports';
|
|
case PLAYER_REPORTS = 'player-reports';
|
|
case MATCH_CONFIGIURATION = 'match-configuration';
|
|
}
|