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.
This commit is contained in:
Vari
2024-08-11 16:34:59 +02:00
parent a07e7710d0
commit a0e2e321cc
15 changed files with 107 additions and 31 deletions

View File

@@ -10,7 +10,7 @@ class LogViewerController extends AdminToolController
{
protected static string $name = 'Logs';
protected static string $description = 'View Application and Session Logs';
protected static string $description = 'View Backend Logs';
protected static string $iconComponent = 'icons.logs';