Releases: hexidedigital/model-permissions
Releases · hexidedigital/model-permissions
v2.2.0
- added migration for user_role table
- updated command
Full Changelog: v2.1.1...v2.2.0
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
v2.0.0
- Changed minimal php version to 7.3
- Changed configuration file name
- Changed methods for creating permission from migration files
- Changed permission constants names
- Added constants for role ids in database
- Changed
WithRoles
methos
Full Changelog: v1.0.4...v2.0.0
v1.0.4
Full Changelog: v1.0.2...v1.0.4
1.0.2 - fixes
Full Changelog: 1.0.1...1.0.2
fix class and facade
fix class and facade
First release
First release