Open stuartcusackie opened 8 months ago
I second this. Without a download feature the plugin is sadly rather useless. (for me)
check this at src/Components/BackupDestinationListRecords.php
im not sure about the specific permission required, but it would be better if it is removable or customizable, because on my case, the one can access table should have full control over it
@stuartcusackie @Dieter91 If you are using a package such as filament shield, you should be able to generate the policies to allow assigning the necessary permissions. If not, you can create custom gate and define who can access.
boot
method of your AppServiceProvider
, add the following.env
,
BACKUP_MANAGERS=email@example.com,email2@example.com
same here when i check in code i found this visible(auth()->user()->can('download-backup')) when i commit them it worked
How to make without policy or gate !
I noticed that the download / delete actions shown here: https://v2.filamentphp.com/plugins/spatie-backup
Are now missing in the latest version: https://github.com/shuvroroy/filament-spatie-laravel-backup
Allowing download would be very useful for me. Is there a way to enable this feature?
Thanks!