Laravel-Backpack / PermissionManager

Admin interface for managing users, roles, permissions, using Backpack CRUD
http://backpackforlaravel.com
Other
516 stars 166 forks source link

New readme section on how to use permissions for CRUD controllers #268

Closed Polfo closed 11 months ago

Polfo commented 3 years ago

I spent some time finding out how to integrate Permissions with CRUD controllers. It is now documented and could be useful for other users. Here are some related questions without answer: https://stackoverflow.com/questions/65469302/laravel-backpack-rolewise-permission-give-to-module https://stackoverflow.com/questions/57982478/laravel-backpackcrud-set-permission-role-to-a-category https://stackoverflow.com/questions/55489878/cannot-restrict-access-to-permission-manager-routes-using-role-based-middleware Did someone publish an alternative elsewhere? Can you accept this proposal? There are many ways to do it, but this may help getting started. It is the kind of documentation I missed.

welcome[bot] commented 3 years ago

BOOM! Your first PR with us, thank you so much! Someone will take a look at it shortly.

Please keep in mind that:

Thank you!

-- Justin Case The Backpack Robot

tabacitu commented 11 months ago

Wow, this is VERY GOOD. Thanks a lot @Polfo , I've just given this a read and merged it, super-useful. Thanks again @Polfo and sorry for taking so long to merge, must have slipped through the cracks.

Cheers!

welcome[bot] commented 11 months ago

WHOOP-WHOOP! Congrats, your first PR on this repo has officialy been merged.

party

If you want to help out the community in other ways, you can:

Again. Thank you for the PR. You are a wonderful person. Keep 'em coming :-) Cheers!

-- Justin Case The Backpack Robot

P.S. Help in the Backpack community is rewarded with free Backpack commercial licenses. It's the least we can do. If you feel you've helped the community with PRs, help & other stuff, please shoot Tabacitu an email and ask him if you qualify for free licenses. You scratch my back, I scratch your back. Thank you!