Releases: cgrossde/Laraguard
Save denied path
To allow a redirect after login feature, Laraguard now stores the path of the last denied page for X requests(default is two) in a session var laraguard_lastDenied
.
During testing you might want to set temporary permissions not only for Laraguard but maybe also for your user. Laraguard now allows you to read out the currently active temporary permissions with getTemporaryPermissions()
Also temporary permissions and the laraguard_lastDenied
session var will now be cleared before each behat test not after.
Get all permissions
Added getPermissionNames()
to get a list of all permission names and getPermissionArray()
to get the full array (incl controller/method) to Laraguard
service.
Testing and debugging
Breaking changes!!!
modelActionPermissions
changed to controllerActionPermissions
in permissions.yml
Changelog
- Added testing capabilities
- Support for Behat
- Added debugging (see
permission.yml
in README)
Initial Release
v0.1.0 Update README.md