Laravel Route Authentication

1

Is there any way in Laravel to add permissions or put a user in a specific group at the time of login (I mean the Auth structure of Laravel itself).

Example, I define that only an Admin Group has access to the Products / Create Route and that the Products / List route can be seen by both the Admin group and the Users group (and vice versa).

    
asked by anonymous 08.05.2017 / 01:29

1 answer

-1

You can resolve this with policies: link

    
14.05.2017 / 01:20