Releases: spatie/laravel-permission
Releases · spatie/laravel-permission
1.5.0
- allowed
givePermissionTo
to accept multiple permissions - allowed
assignRole
to accept multiple roles - added
syncPermissions
-method - added
syncRoles
-method - dropped support for PHP 5.5 and HHVM
1.4.0
added hasPermissionTo
function to the Role
model
1.3.4
hasAnyRole
can now properly process an array
1.3.3
hasDirectPermission
can now accept a string
1.3.2
- User table configuration fix
1.3.1
- fixed bug when testing for non existing permissions
1.3.0
Added compatiblity for Laravel 5.2
1.2.1
- use database_path to publish migrations
1.2.0
Added support for custom models
1.1.0
Added:
- Blade directives
hasAllRoles()
- andhasAnyRole()
-functions