jeremykenedy / laravel-roles

A Powerful package for handling roles and permissions in Laravel with GUI. Supports Laravel 5.3, 5.4, 5.5, 5.6, 5.7, 5.8, 6.0, 7.0, 8.0, and 9.0
MIT License
959 stars 196 forks source link

How to customize permission table? #201

Closed sunnysahijwani closed 1 year ago

sunnysahijwani commented 1 year ago

I would like to cusotmize permissions because I want to group Permissions. How can I do that? I could not figure out if this is already given or is this something we have to implement ourself. If we need to do this ourself then what would be the best way to go about doing it, so I can submit it to you to review?

jeremykenedy commented 1 year ago

You can attach permissions to roles and make a role group.

sunnysahijwani commented 1 year ago

Actually in my project, I have given Admin the ability to be able to create Groups by selecting the available permissions but there are some special permissions which I wanted to highlight, so I thought if I would be able to add a new column in permission that would be good but that creates issue with your files as you have applied group somewhere on permission and this column is not present in that clause.