Skip to content

Releases: tpg/deadbolt

v0.2.5

04 Mar 05:39
Compare
Choose a tag to compare

Laravel 7 support!
Also fixed a few bugs around the `User::saved()~ method.

v0.2.4

03 Mar 07:48
b6010b7
Compare
Choose a tag to compare

A couple of bug fixes around the handling of the permissions column on the user model.

  • Fixed a bug that was not assigning permissions correctly when the attribute was cast to json.
  • Fixed a bug that was not using the column config option correctly.
  • Renamed the User::mergePermissions method to User::assignPermissions.

v0.2.3

02 Mar 05:55
Compare
Choose a tag to compare

Fixed a bug that was not sourcing roles from the set driver correctly.
The User class constructor has been altered to now accept the roles array.

v0.2.2

27 Feb 07:39
Compare
Choose a tag to compare

Fixed a bug causing some problems if the permissions attribute on the user model is cast to json.

v0.2.1

27 Feb 06:56
Compare
Choose a tag to compare

The Deadbolt::permissions() method will now accept role names to filter the returned permissions.

v0.2

26 Feb 21:15
Compare
Choose a tag to compare

New driver-based permissions and roles source.
By default we include an ArrayDriver which fetches permissions from the default config, but now opens the potential custom drivers, like a DatabaseDriver, EloquentDriver or even HttpDriver.
There's a few new tests.

v0.1

26 Feb 08:39
37932d8
Compare
Choose a tag to compare

A whole new API.
I feel much happier about this now.
Updated README to reflect the new system.