Deathgarden_Rebirth-Rewrite/dist/app/Http/Controllers/Web/Admin/Tools/LogViewerController.php
Vari a0e2e321cc Created a middleware for checking permissions in admin controllers, so I cannot forget to add permission checks.
Changed some descriptions of the admin tools for Miraak.

Aded some more Permissions and added a moderator role.
2024-08-11 16:34:59 +02:00

19 lines
459 B
PHP

<?php
namespace App\Http\Controllers\Web\Admin\Tools;
use App\Enums\Auth\Permissions;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
class LogViewerController extends AdminToolController
{
protected static string $name = 'Logs';
protected static string $description = 'View Backend Logs';
protected static string $iconComponent = 'icons.logs';
protected static Permissions $neededPermission = Permissions::VIEW_LOG;
}