Skip to content

Releases: hexidedigital/model-permissions

v2.2.0

27 Jan 03:34
Compare
Choose a tag to compare
  • added migration for user_role table
  • updated command

Full Changelog: v2.1.1...v2.2.0

v2.1.1

21 Jan 08:48
Compare
Choose a tag to compare

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

v2.0.0

09 Jan 23:36
Compare
Choose a tag to compare
  • 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

16 Nov 21:33
Compare
Choose a tag to compare

Full Changelog: v1.0.2...v1.0.4

1.0.2 - fixes

14 Sep 11:58
d8d94c6
Compare
Choose a tag to compare

Full Changelog: 1.0.1...1.0.2

fix class and facade

14 Sep 11:56
Compare
Choose a tag to compare

fix class and facade

First release

14 Sep 11:48
Compare
Choose a tag to compare

First release