public function canEdit(User $user) { return $user->is('administrator') || $user->is('agent') && $user->id == $this->user_id || $user->is('property_manager') && $user->profile->province == $this->province; }