<?php
 namespace App\Policies; use App\Models\Admin; use Illuminate\Auth\Access\HandlesAuthorization; class NetworkToolsPolicy { use HandlesAuthorization; public function use(Admin $admin): bool { return $admin->hasPermissionTo('use network tools'); } public function view(Admin $admin): bool { return $admin->hasPermissionTo('view network tools'); } } 