v2.1.1
Most important:
- Updated and improved class for generating and attaching permissions
- Renamed
WithRole
train byHasRoles
and change some functions
New features:
- Added named constants for roles -
User = 3
,Admin = 2
andSuperAdmin = 1
, where number is Role-ID in database - Added new role -
SuperAdmin
- Added and changed permission names for using in laravel policies
Other changes:
- Replaced plain string by class constants in config file
- Changed migrations on anonymous migration class
Full Changelog: v2.0.0...v2.1.1