Replies: 2 comments 1 reply
-
Better make your own |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oookay, this whole team thing seems very "patched", but I guess it's not easy to incorporate this idea into an existing lib.. |
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,
I'm struggling to see how one would fetch all users having a certain permission when using teams
Ref. https://spatie.be/docs/laravel-permission/v5/basic-usage/basic-usage
This doesn't return anything, ..unless I use the
setPermissionsTeamId
Fetching all the teams and then do this in a for loop is pretty bad, so how would you suggest doing this?
UPDATE
I managed to do this manually, but one would think there was a better way..
Beta Was this translation helpful? Give feedback.
All reactions