Skip to content

v2.1.1

Compare
Choose a tag to compare
@Oleksandr-Moik Oleksandr-Moik released this 21 Jan 08:48
· 5 commits to main since this release

Most important:

  • Updated and improved class for generating and attaching permissions
  • Renamed WithRole train by HasRoles and change some functions

New features:

  • Added named constants for roles - User = 3, Admin = 2 and SuperAdmin = 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