[Spatie-Permissions] Possibilities of assigning roles to both teams and users
Hello everyone!
I have a simple question. Is it possible to use spatie-permissions for both users and teams at the same time? For example, i have an admin role which is meant to be assigned to users only. But i also have roles which will be assigned based on subscriptions. So role package_1 is only meant to be assigned to teams.
After reading https://spatie.be/docs/laravel-permission/v6/basic-usage/teams-permissions I got confused because if teams = enabled in config, it is necessary to fill in the team column with either NULL or a team id. Does this mean that with teams enabled, i can't assign roles to users anymore because it always has to be linked to a team?