mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-09 03:35:14 -05:00
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:
@@ -17,7 +17,7 @@ class InboxMailerController extends AdminToolController
|
||||
{
|
||||
protected static string $name = 'Mailer';
|
||||
|
||||
protected static string $description = 'Send inbox messages to one or multiple users.';
|
||||
protected static string $description = 'Send Messages to Users';
|
||||
protected static string $iconComponent = 'icons.mail';
|
||||
|
||||
protected static Permissions $neededPermission = Permissions::INBOX_MAILER;
|
||||
|
||||
Reference in New Issue
Block a user