Releases: mikebronner/laravel-governor
Releases · mikebronner/laravel-governor
0.6.4
Added
- model method
->is($role)
to check if a user belongs to a method.
Deprecated
- method
->isSuperAdmin
user attribute in favor of using->is("SuperAdmin")
.
0.6.3
Fixed
- role saving and updating process.
0.6.2
Changed
- authorization method to use
auth()->user()->can()
.
0.6.1
Fixed
- api authentication, removed
api
middleware group.
0.6.0
Added
- authorization api functionality.
0.5.10
Fixed
- various controller and view related items (work in progress).
0.5.9
Fixed
- policy check in Roles controller.
0.5.8
Fixed
- service provider class reference in console command.
0.5.7
Fixed
- permission seeder to respect existing records.
0.5.6
Fixed
- an edge-case where non-model items were being listened to in listeners