rappasoft / vault

Roles & Permissions for the Laravel 5 Framework
MIT License
103 stars 10 forks source link

User Page restrictions #22

Open kjghja opened 9 years ago

kjghja commented 9 years ago

Hi i installed this packages.. if User login as a staff he can only see uers List .. Staff can't do edit update or delete and can't see other pages how can i do that..

tedhaas2 commented 9 years ago

That's a good question and sorry I can't explain how you do that...

tedhaas2 commented 9 years ago

What reference site??

rappasoft commented 9 years ago

It can be done, even thought this project is better at whole sections, but if you declare each route individually, you can wrap them in separate routeNeedsPermission middleware for each CRUD operation.