Releases: mikebronner/laravel-governor
Releases · mikebronner/laravel-governor
Laravel 5.2 Compatible
Added
$incrementing = false;
to classes usingname
as primary key.- use statements in migrations.
Changed
- added routes to
web
route group. - creation of
$user
using helper methodsapp()
andconfig()
.
0.2.1
Fixed
- reference to User model primary key to not use
$user->id
, but instead$user->getKey()
.
Changed
- installation instructions to make sure a User exists in the system.
0.2.0
Changed
- installation instructions for adding Entities.
- views to better resemble Spark Settings components, so they can be integrated into Spark.
Removed
- entities view, as it wasn't conducive to a good workflow.
- requirement to manually add
Collective\Html
package.
0.1.8
Added
- "laravelcollective/html" as a package dependency.
Changed
- moved documentation to https://governor.forlaravel.com.
0.1.7
Fixed
- Saving of rules (would fail due to incorrect form values).
0.1.6
Added
- most unit tests, will add additional ones as necessary.
Changed
- used Guard facade in Requests, instead of Auth::user()->can() to integrate more tightly into Laravel Authorization.
Fixed
- typo in Edit Entity view.
Removed
- unneeded functionality in Governable trait.
- unneeded Request class.
0.1.5
0.1.4
Added
- isSuperAdmin attribute to governable users (this differs from the Laravel documentation in that it is an attribute of the user, and not a method)
- automatic super-admin interception, no need to manually add it to your auth middleware, policies, or service providers
Fixed
- possible issue with seeder class, causing it to fail in certain situations
0.1.3
Fixed
- excluded _token from being saved when creating roles.
0.1.2
Added
- first set of unit tests (working on more)
- Travis-CI
- Coveralls
Fixed
- copy/paste error with rules, entity, and assignment policies
- added LaravelCollective/Html service provider to installation instructions