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

@@ -16,7 +16,7 @@ class GameNewsController extends AdminToolController
{
protected static string $name = 'Game News';
protected static string $description = 'Create and edit in game news.';
protected static string $description = 'Create & Edit Game News';
protected static string $iconComponent = 'icons.gamenews';