Replies: 3 comments
-
I'm not exactly sure how you would integrate it with this package's role/permissions setup, but if you want to use spatie permissions then you can remove the role logic for this app and then just use that instead. You would need to override the Company Settings component and register a different component or something else though. |
Beta Was this translation helpful? Give feedback.
-
thanks @andrewdwallo for your advice. It is true that filament-companies is modular (it is well made). |
Beta Was this translation helpful? Give feedback.
-
by the way : the company role level is really interesting because in real life such role is a collection of ACL Role. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Thanks a lot for this so great
filament-companies
plugin :-)I'm studying but not yet found how to use filament-companies with spatie/laravel-permission then managing roles & permissions with bezhansalleh/filament-shield.
I'm a bit confused to understand all these tools ...
How to think about the coupling between
FilamentCompanies::role
andSpatie\Permission\Contracts\Role
?Perhaps making
FilamentCompanies::role
(admin, editor) in relation with severalSpatie\Permission\Contracts\Role
(blog editor, blog author, timesheet editor, sale point vendor ...) defined by different application's modules should be a nice solution.Thanks for any light & idea :-)
Beta Was this translation helpful? Give feedback.
All reactions