packagist spatie/laravel-permission 2.25.0

latest releases: dev-main, 6.10.1, 6.10.0...
6 years ago
  • A model's roles and permissions relations (respectively) are now automatically reloaded after an Assign/Remove role or Grant/Revoke of permissions. This means there's no longer a need to call ->fresh() on the model if the only reason is to reload the role/permission relations. (That said, you may want to call it for other reasons.)
  • Added support for passing id to HasRole()

Don't miss a new laravel-permission release

NewReleases is sending notifications on new releases.