Skip to content

Releases: santigarcor/laratrust

6.0.0

06 May 22:45
Compare
Choose a tag to compare
  • 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 and withoutPermission scopes
  • Add support to receive multiple roles and permisions in the whereRoleIs and wherePermissionIs methods.
  • Laratrust is now using semver.

Support for Laravel 7.0

09 Mar 08:20
Compare
Choose a tag to compare
5.2.8

Merge branch 'master' into 5.2

5.2.7

19 Feb 13:28
Compare
Choose a tag to compare

Add

  • Rollback teams' foreign keys and table in migrations

5.2.6

08 Nov 13:55
Compare
Choose a tag to compare

Add

  • Method to get (cached) roles of user (#378)
  • Allow unique cache key for each user models (#360)

5.2.5

22 Oct 14:56
Compare
Choose a tag to compare

Add

  • Provide option to allow the response text when using abort handler (#370)

Support for Laravel 6.0

03 Sep 14:12
Compare
Choose a tag to compare
5.2.3

Merge branch 'master' into 5.2

5.2.2: Merge pull request #349 from dragonfire1119/master

15 May 18:22
f9a7036
Compare
Choose a tag to compare

Fix

  • Ability returning false when using teams and validate all. #348

5.2.1: Merge pull request #343 from lexxyungcarter/master

17 Apr 16:11
600aa87
Compare
Choose a tag to compare

Fix

  • Removing Laratrust observables #339
  • Fill call method on null #343

5.1.0

31 Jan 00:24
Compare
Choose a tag to compare
  • 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

03 Oct 17:56
Compare
Choose a tag to compare

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)