← All permission categories

Admin Spells

4 permissions in this category.

No permissions match.

admin.spells.create

Constant: ADMIN_SPELLS_CREATE

Create new spells

admin.spells.delete

Constant: ADMIN_SPELLS_DELETE

Delete spells

admin.spells.edit

Constant: ADMIN_SPELLS_EDIT

Edit existing spells

admin.spells.view

Constant: ADMIN_SPELLS_VIEW

View spells

Usage

use App\Permissions;
use App\Helpers\PermissionHelper;

if (PermissionHelper::hasPermission($userUuid, Permissions::ADMIN_SPELLS_CREATE)) {
    // admin.spells.create
}