Skip to content

Releases: cgrossde/Laraguard

Save denied path

27 May 19:38
Compare
Choose a tag to compare

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

01 Feb 17:38
Compare
Choose a tag to compare

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

29 Jan 23:20
Compare
Choose a tag to compare

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

17 Jan 11:03
Compare
Choose a tag to compare
v0.1.0

Update README.md