shuvroroy / filament-spatie-laravel-backup

Create backup of a Laravel application
MIT License
174 stars 39 forks source link

Download / Delete actions missing #60

Open stuartcusackie opened 3 months ago

stuartcusackie commented 3 months ago

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!

Dieter91 commented 3 months ago

I second this. Without a download feature the plugin is sadly rather useless. (for me)

fathonialimukti commented 3 months ago

Screenshot from 2024-03-26 09-04-32

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

jgmuchiri commented 2 months ago

@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.

image

image