The authorization to restore an activity is hardcoded to the restore policy method through static::getResource()::canRestore(...), which is meant for restoring soft-deleted models (https://filamentphp.com/docs/3.x/actions/prebuilt-actions/restore). Since this concerns a different type of restoring, I propose the authorization method to be overwritable.
The authorization to restore an activity is hardcoded to the
restore
policy method throughstatic::getResource()::canRestore(...)
, which is meant for restoring soft-deleted models (https://filamentphp.com/docs/3.x/actions/prebuilt-actions/restore). Since this concerns a different type of restoring, I propose the authorization method to be overwritable.