<?php

namespace App\Policies;

use App\Models\User;

class PaymentPolicy
{
    public function createOneOff(?User $user): bool
    {
        // Replace with your permission system / roles
        return (bool) $user && $user->hasPermissionTo('payments:create');
    }
}
