From 567b0544a39fa44692ac29bef06d1ffcf5ce58c7 Mon Sep 17 00:00:00 2001 From: dhanabalan Date: Wed, 25 Feb 2026 11:13:19 +0530 Subject: [PATCH] Added wire master print page permisison apge --- app/Filament/Pages/WireMasterPrint.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/Filament/Pages/WireMasterPrint.php b/app/Filament/Pages/WireMasterPrint.php index 2694d48..6fcadec 100644 --- a/app/Filament/Pages/WireMasterPrint.php +++ b/app/Filament/Pages/WireMasterPrint.php @@ -296,4 +296,9 @@ class WireMasterPrint extends Page 'customer' => $state['customer_po_master_id'], ])); } + + public static function canAccess(): bool + { + return Auth::check() && Auth::user()->can('view wire master print page'); + } } -- 2.49.1