<?php

namespace App\Policies;

use App\Models\Patient;
use App\Models\User;

class PatientPolicy
{
    public function viewAny(User $user): bool
    {
        return $user->can('clients.view');
    }

    public function view(User $user, Patient $patient): bool
    {
        return $user->can('clients.view');
    }

    public function create(User $user): bool
    {
        return $user->can('clients.manage');
    }

    public function update(User $user, Patient $patient): bool
    {
        return $user->can('clients.manage');
    }

    public function delete(User $user, Patient $patient): bool
    {
        return $user->can('clients.manage');
    }
}
