tomatophp/filament-withdrawals
Filament Withdrawals lets you manage withdrawal methods, custom fields, and withdrawal requests directly from your Filament admin panel. Register the plugin, run the installer, and extend forms with custom field types.
Security fix - please upgrade.
Relation fields of withdrawal forms loaded any class and any column typed into the field editor. A field set to App\Models\User + password put the password hashes of every user into the withdrawal request form, and any class name had ::all() called on it.
relations allowlist of config/filament-withdrawals.php; anything else renders without options and is never queriedpassword, remember_token, anything in $hidden) are never shown, even when listedUpgrade note: the allowlist is empty by default. If your withdrawal methods use relation fields, publish the config (php artisan vendor:publish --tag="filament-withdrawals-config") and add each model and column, for example:
'relations' => [
\App\Models\Bank::class => ['name'],
],
Until then those fields show no options.
Full Changelog: https://github.com/tomatophp/filament-withdrawals/compare/v1.0.0...v1.0.1
Full Changelog: https://github.com/tomatophp/filament-withdrawals/commits/v1.0.0
How can I help you explore Laravel packages today?