You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rules are defined using Auth::deny() or Auth::allow()
As is mentioned on the readme, the recommended place to put your rules is in a filter. That way your rules are reusable between controllers, and you only load the rules which will be required(faster). You could certainly define them in your controller if you wanted, or even in your views. But I wouldn't write up docs for your specific application.
More documentation is available however at: https://github.com/machuga/authority and the older: http://vespakoen.github.io/authority-laravel/
Can you create an example with a working Controller? Where must i set the rules e.g.??
Kind Regards
The text was updated successfully, but these errors were encountered: