Skip to content

Releases: mikebronner/laravel-governor

0.6.14

22 Oct 16:28
dccc4af
Compare
Choose a tag to compare
0.6.14 Pre-release
Pre-release

Removed

  • throttling of API routes.

0.6.13

08 Oct 14:05
7a81117
Compare
Choose a tag to compare
0.6.13 Pre-release
Pre-release

Added

  • Laravel 5.7 compatibility.

0.6.12

06 Aug 21:40
8fccf8c
Compare
Choose a tag to compare
0.6.12 Pre-release
Pre-release

Fix

  • renaming of isRole to hasRole in remaining spots.

0.6.11

06 Aug 21:32
4445770
Compare
Choose a tag to compare
0.6.11 Pre-release
Pre-release

Changed

  • isRole() to hasRole().
  • return true if user is SuperAdmin.

0.6.10

28 Jun 16:31
f3e38ec
Compare
Choose a tag to compare
0.6.10 Pre-release
Pre-release

Fixed

  • straggling ->is() check, renamed to ->isRole().

0.6.9

26 Jun 16:14
da26bc6
Compare
Choose a tag to compare
0.6.9 Pre-release
Pre-release

Changed

  • ->is(string $roleName) : bool method to ->isRole(string $name) : bool to avoid collision with ->is() method on Laravel model class.

0.6.8

26 Jun 14:59
ad5a103
Compare
Choose a tag to compare
0.6.8 Pre-release
Pre-release

Updated

  • ->is($role) method to not consider SuperAdmin role.
  • ->is($role) method signature to be more clear: ->is(string $roleName) : bool.

0.6.7

25 Jun 13:26
cba52d9
Compare
Choose a tag to compare
0.6.7 Pre-release
Pre-release

Fixed

  • deprecated occurrence of ->isSuperAdmin.

0.6.6

22 Jun 22:29
cb4b9ee
Compare
Choose a tag to compare
0.6.6 Pre-release
Pre-release

Fixed

  • checking of user-is API request.

0.6.5

22 Jun 22:25
7c33ec4
Compare
Choose a tag to compare
0.6.5 Pre-release
Pre-release

Added

  • role-check HTTP API to supplement the userIs check functionality in the previous release.