Skip to content

Releases: santigarcor/laratrust

Middleware can redirect or abort

28 Aug 19:35
Compare
Choose a tag to compare
  • Added the option in the middleware to abort or redirect
  • Added 'middleware_handling' => 'abort' and 'middleware_params' => '403' to config/laratrust.php

Solve 5.3 blade directives and added DB seeder

18 Aug 21:27
Compare
Choose a tag to compare
  • 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

30 Jul 01:48
Compare
Choose a tag to compare

Removed Santigarcor vendor from the namespace

2.0.0

24 Jun 02:43
Compare
Choose a tag to compare
  • Added automatic configuration to the package (thanks to @KKSzymanowski ).
  • Changed the relationship name between Role and Permission to permissions.
  • Solved empty users table name when doing the migration command.
  • Added that method can returns true when an empty array is given.