bezhanSalleh / filament-shield

The easiest and most intuitive way to add access management to your Filament Admin Resources, Pages & Widgets through `spatie/laravel-permission`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Teams Feature

paulmercs opened this issue · comments

When I set the teams feature to true, all the permissions assigned to a role that is assigned to that team is not working I mean only the dashboard menu is showing. What am i missing?

Screenshot 2024-03-02 184839

As far as I know, the team feature is held by the Spatie Permission package but not yet implemented into Filament Shield.

Man, I really so need this..

same here, team features need to be implemented 👍 , it's really cool feature and all these filament auth plugins are missing this feature working out of the box

Let's wait for the team feature

same here, team features need to be implemented 👍 , it's really cool feature and all these filament auth plugins are missing this feature working out of the box

Let's wait for the Team Feature

Let's wait 🚀

You can utilize the filament tenant feature, along with the role model, by setting is_scoped_to_tenant to true in the shield configuration. However, you may need to adjust some logic depending on individual project requirements. It is certainly feasible. In my case, I modified the role resource to include a teams dropdown and adapted some aspects of my project's business logic accordingly.

Unless someone PRs it with tests i'm not going to implemented anytime soon.