Skip to content

IMPROVEMENT

Choose a tag to compare

@darryldecode darryldecode released this 29 Oct 02:12
· 4 commits to master since this release

WHAT'S NEW:

  • Added Before Backend Access Hook

UPGRADE GUIDE:

1st Run:

composer update "darryldecode/laravelbackend"

2nd, on config/backend/backend.php:
add this:

/*
* Before Backend Access Hook
*
* Here you can check if user is in groups or has permissions to redirect to any route
* you want when it does not matches your criteria to access the backend
*/
'before_backend_access' => function($user) {

}