diff --git a/src/Backend.php b/src/Backend.php index 603111a..d3f9f64 100644 --- a/src/Backend.php +++ b/src/Backend.php @@ -1,15 +1,5 @@ checkContext('BACKEND') && App::auth()->isSuperAdmin(); + // Limit to super admin + return match ($context) { + self::MODULE => App::auth()->isSuperAdmin(), + default => null, + }; } }