Replies: 1 comment 1 reply
-
Also there is spatie/laravel-multitenancy
As team model is defined from the custom app, not from this package, it's not posible add relations or scopes for that
you can make a pull request because maybe no one else will |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone.
Is is great to know that the package now supports teams based roles/permissions.
The package itself is great and now it might fit for most multi-tenant apps too.
I think there's only few steps to improve the teams functionality, and these are:
These improvements would be very useful for example when creating a teams page, where the user can choose a Team to manage. As it's structured now, the getAllPermissions() first requires the app to pass the team id into the setPermissionsTeamId(), and then it gets all the permissions only for that team id. Would be great to get all the permissions instead.
As Teams is a new feature, I think that we could put in place some ideas to improve this package even more.
Beta Was this translation helpful? Give feedback.
All reactions