Skip to content

Releases: codinglabsau/laravel-roles

v1.2.0

16 Sep 23:54

Choose a tag to compare

Added Laravel 8 support

Gate can accept an array

09 Apr 07:26

Choose a tag to compare

  • Fix gate to accept an array of roles
  • add tests
  • add travis-ci config

Add gate support

09 Apr 05:50

Choose a tag to compare

  • Added a gate policy that allows usage of $this->authorize('role', 'admin') in controllers

bumpity bump

20 Mar 01:10

Choose a tag to compare

  • fixed license file
  • documented controller middleware example
  • added unique contract to roles user_id+role_id

Initial version

19 Mar 13:06

Choose a tag to compare

This release provides the bare minimum roles integration, seen frequently in the Laravel docs.

  • Create roles with Eloquent
  • Trait for the user model
  • Migrations for roles and role_user
  • HTTP middleware
  • config (empty for now)
  • readme