Releases: santigarcor/laratrust
Releases · santigarcor/laratrust
6.0.0
- Add simple admin panel to manage roles, permissions and roles/permissions assignment to the users
- Change how the Seeder works, in order to only use the role structure we had before
- Remove the
can
method so we now support gates and policies out of the box - Add
withoutRole
andwithoutPermission
scopes - Add support to receive multiple roles and permisions in the
whereRoleIs
andwherePermissionIs
methods. - Laratrust is now using semver.
Support for Laravel 7.0
5.2.8 Merge branch 'master' into 5.2
5.2.7
Add
- Rollback teams' foreign keys and table in migrations
5.2.6
5.2.5
Support for Laravel 6.0
5.2.3 Merge branch 'master' into 5.2
5.2.2: Merge pull request #349 from dragonfire1119/master
Fix
- Ability returning false when using teams and validate all. #348
5.2.1: Merge pull request #343 from lexxyungcarter/master
5.1.0
- Add two types of permissions/roles checkers, the default one we have always used and another one directly doing queries to the DB.
- Add possibility to flash data to the session if the middleware fails.
- Add orWherePermissionIs method.
- Added cache to configuration file.
5.0.0
Added
- Added syncRolesWithoutDetaching and syncPermissionsWithoutDetaching methods. (#177)
- Added strict option when checking teams. (#187)
- Added option to set the guard in the middlewares(#186, 717cdfc)
- Added middleware auto registering. (4f128e6)
- Added a helper class. (ea513a6)
- Added Laravel like event system. (#151, 6342410, 2c0ee36)
- Added option to use Laravel's cache or not. (#201, 227c89d)
Changed
- Changed the Ownable interface to receive the owner in the ownerKey method in case the owner key check changes depending of the type of the owner. (b68e9ea)
- Changed the commands 'fire' method to 'handle' in order to work properly in Laravel 5.5. (#172)
- Use Laravel standard for enable and disable foreign key checks. (#190)
- Changed the folder structure. (ccf7b81)
- Changed the unit tests to an integration tests approach. (bd0b664)