mirror of
https://github.com/Deathgarden-Rebirth/Deathgarden_Rebirth-Rewrite.git
synced 2026-09-10 04:05:22 -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:
@@ -8,9 +8,9 @@
|
||||
|
||||
class FileManagerController extends AdminToolController
|
||||
{
|
||||
protected static string $name = 'File Manager';
|
||||
protected static string $name = 'Pak Manager';
|
||||
|
||||
protected static string $description = 'Add and edit game files the launcher installs.';
|
||||
protected static string $description = 'Deploy Pak Updates for the Launcher';
|
||||
protected static string $iconComponent = 'icons.file-manager';
|
||||
|
||||
protected static Permissions $neededPermission = Permissions::FILE_UPLOAD;
|
||||
|
||||
Reference in New Issue
Block a user