Releases: spatie/laravel-permission
Releases · spatie/laravel-permission
2.0.1
- fix the order of the
foreignKey
andrelatedKey
in the relations
2.0.0
- cache expiration is now configurable and set to one day by default
- roles and permissions can now be assigned to any model through the
HasRoles
trait - removed deprecated
hasPermission
method - renamed config file from
laravel-permission
topermission
.
1.12.0
- made foreign key name to users table configurable
1.11.1
hasPermissionTo
uses the cache to avoid extra queries when it is called multiple times
1.11.0
- add
getDirectPermissions
,getPermissionsViaRoles
,getAllPermissions
1.10.0
- add hasAnyPermission
1.9.0
- add
log_registration_exception
in settings file - fix for ambiguous column name
id
when using the role scope
1.8.0
hasDirectPermission
method is now public
1.7.0
- added support for Laravel 5.4
1.6.1
make exception logging more verbose