saade / filament-fullcalendar

The Most Popular JavaScript Calendar as a Filament Widget
MIT License
282 stars 85 forks source link

Fixes wrong permissions check. #51

Closed tiagof closed 2 years ago

tiagof commented 2 years ago

The edit-event-modal must be shown if the user can only View (and not edit). Additionally, the permission to decide whether the form should be disabled is canEdit and not canView

These are bugs from my previous PR, sorry.

tiagof commented 2 years ago

@saade could you please check the failed "checks"? Doesn't seem to be related to any code change from this PR..