Releases: santigarcor/laratrust
Releases · santigarcor/laratrust
Middleware can redirect or abort
- Added the option in the middleware to abort or redirect
- Added
'middleware_handling' => 'abort'
and'middleware_params' => '403'
toconfig/laratrust.php
Solve 5.3 blade directives and added DB seeder
- Solve the problem with the parenthesis in the blade directives in laravel 5.3.
- Added a seeder that fills the permissions, roles and users tables with some initial configurations
Namespace Change
Removed Santigarcor
vendor from the namespace
2.0.0
- Added automatic configuration to the package (thanks to @KKSzymanowski ).
- Changed the relationship name between
Role
andPermission
topermissions
. - Solved empty users table name when doing the migration command.
- Added that method
can
returns true when an empty array is given.