Skip to content

v1.7.0

Choose a tag to compare

@finity-labs finity-labs released this 05 May 07:41

Added

  • Permission gating for custom actionsPreview, SendTest, Compose (Email Templates) and Resend (Sent Emails) are now hidden from the UI when Filament Shield is installed and the authenticated user lacks the corresponding permission. Falls back to the previous always-visible behavior when Shield is absent, so existing installs are unaffected (#12, thanks @agencetwogether)
  • FinMailPlugin::isShieldAvailable() helper for checking Shield presence
  • preview_heading translation key for the preview modal header, populated across all 58 supported locales

Changed

  • InstallCommand now seeds preview, sendTest, compose, and resend into the Filament Shield config so shield:generate produces the matching policy methods and permissions
  • Bulk delete on the Email Templates table now uses authorizeIndividualRecords('delete') when Shield is active

Notes

  • After upgrading on a Shield-enabled install, run php artisan shield:generate --panel=admin --option=policies_and_permissions to register the new permissions

Full Changelog: v1.6.0...v1.7.0