Docs › Releases › 1.02 › Changelog
Recurnix 1.02 changelog
Every change in 1.02, by kind. For what it means and whether to update, read the release notes.
Security
- All 36 resources gated
canAccess()and nothing else. No policy classes exist and Filament falls through to allow, so a role holding onlyview.invoicescould create, edit and delete invoices;readonlyandsupportcould rewrite everything they could see. The newApp\Filament\Concerns\AuthorizesByPermissionoverridescanCreate,canEdit,canDelete,canDeleteAny,canForceDelete(Any),canRestore(Any),canReplicateandcanReorder, which is what Filament's ownCreateRecord/EditRecordpagesabort_unlesson - a direct URL is refused with a 403 regardless of what was rendered. - Filament actions carry no authorisation unless one is set, so the table buttons were a second, separate hole.
AdminAuthorization::guardActions()configures Create, Edit, Delete, Delete-bulk, ForceDelete(-bulk), Restore(-bulk), Replicate, Associate, Dissociate, Attach and Detach centrally - once, inAppServiceProvider::boot(), rather than on the ~145 individual action instances where the next one added would have been missed.hidden()is used deliberately, notvisible(): a resource setting its ownvisible()would replace avisible()set here and silently re-expose the button.
Changed
- The activity log is append-only: no create, edit or delete, for any role including owner. Email logs and webhook events stay deletable under
delete.settings. canRestoreanswers to the delete permission - restoring is undoing a delete.
Added
App\Support\AdminAuthorization- one registry of model to permission area, consulted by both the resource trait and the action guards, so the two cannot drift apart.
Notes
- No permission has to be granted on upgrade. The area for each resource is the one its
canAccess()already used, andcreate./update./delete.for every one of those areas has existed since the first seeder run. - The gate fails CLOSED (an unrecognised model refuses writes); the button-hiding fails OPEN (a surface outside the registry is left alone). The asymmetry is deliberate.