engrlaravel
1 month ago
253
7
Laravel

Stop users access your pages directly from url

Posted 1 month ago by engrlaravel

I am using laravel package laravel-permission. I have put checks on menu for different roles & permissions.

BUT now users can access directly from url.

What is the best way to stop all users access from url & apply roles & permissions?

Note: I want to check role & permission NOT Login(if user is Auth or no)

Please sign in or create an account to participate in this conversation.