Skip to content

Releases: spatie/laravel-permission

2.0.2

13 Apr 15:00
Compare
Choose a tag to compare
  • check for duplicates when adding new roles and permissions

2.0.1

11 Apr 10:30
Compare
Choose a tag to compare
  • fix the order of the foreignKey and relatedKey in the relations

2.0.0

10 Apr 14:36
Compare
Choose a tag to compare
  • 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 to permission.

1.12.0

14 Mar 19:14
Compare
Choose a tag to compare
  • made foreign key name to users table configurable

1.11.1

12 Mar 07:57
Compare
Choose a tag to compare
  • hasPermissionTo uses the cache to avoid extra queries when it is called multiple times

1.11.0

22 Feb 16:49
Compare
Choose a tag to compare
  • add getDirectPermissions, getPermissionsViaRoles, getAllPermissions

1.10.0

21 Feb 23:27
Compare
Choose a tag to compare
  • add hasAnyPermission

1.9.0

20 Feb 19:02
Compare
Choose a tag to compare
  • add log_registration_exception in settings file
  • fix for ambiguous column name id when using the role scope

1.8.0

09 Feb 20:14
Compare
Choose a tag to compare
  • hasDirectPermission method is now public

1.7.0

23 Jan 13:02
Compare
Choose a tag to compare
  • added support for Laravel 5.4