<?php
 namespace App\Policies; use App\Models\Admin; use App\Models\AiStaffProfile; use Illuminate\Auth\Access\HandlesAuthorization; class AiStaffProfilePolicy { use HandlesAuthorization; public function viewAny(Admin $admin): bool { return $admin->hasPermissionTo('view ai staff'); } public function view(Admin $admin, AiStaffProfile $aiStaffProfile): bool { return $admin->hasPermissionTo('view ai staff'); } public function create(Admin $admin): bool { return $admin->hasPermissionTo('create ai staff'); } public function update(Admin $admin, AiStaffProfile $aiStaffProfile): bool { return $admin->hasPermissionTo('update ai staff'); } public function updateAny(Admin $admin): bool { return $admin->hasPermissionTo('update ai staff'); } public function delete(Admin $admin, AiStaffProfile $aiStaffProfile): bool { return $admin->hasPermissionTo('delete ai staff'); } public function deleteAny(Admin $admin): bool { return $admin->hasPermissionTo('delete ai staff'); } } 