diff --git a/src/My.php b/src/My.php index 9f8bb0c..9d2dd4e 100644 --- a/src/My.php +++ b/src/My.php @@ -44,9 +44,9 @@ class My extends MyPlugin public static function checkCustomContext(int $context): ?bool { - // Only backend and super admin + // Limit to super admin return match ($context) { - self::MODULE => App::task()->checkContext('BACKEND') && App::auth()->isSuperAdmin(), + self::MODULE => App::auth()->isSuperAdmin(), default => null, }; }