Releases: spatie/laravel-permission
Releases · spatie/laravel-permission
2.5.0
- add compatiblity with Laravel 5.5
2.4.2
- automatically detach roles and permissions when a user gets deleted
2.4.1
- Fix processing of pipe symbols in
@hasanyrole
and@hasallroles
Blade directives
2.4.0
- add
PermissionMiddleware
andRoleMiddleware
- allow `hasAnyPmerission` to take an array of permissions
2.3.2 Merge branch 'master' of github.com:spatie/laravel-permission
2.3.1
- fix commands not using custom models
2.3.0
- add
create-permission
andcreate-role
commands
2.2.0
hasanyrole
andhasallrole
can accept multiple roles
2.1.6
- fixed a bug where
hasPermissionTo
wouldn't use the right guard name
2.1.5
- fixed a bug that didn't allow you to assign a role or permission when using multiple guards