Releases: codinglabsau/laravel-roles
Releases · codinglabsau/laravel-roles
v1.2.0
Added Laravel 8 support
Gate can accept an array
- Fix gate to accept an array of roles
- add tests
- add travis-ci config
Add gate support
- Added a gate policy that allows usage of
$this->authorize('role', 'admin')in controllers
bumpity bump
- fixed license file
- documented controller middleware example
- added unique contract to roles user_id+role_id
Initial version
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
rolesandrole_user - HTTP middleware
- config (empty for now)
- readme