Add roles / permissions per team for user
Hello,
I have a case where I use spatie permissions, and I want to be able to give user roles and permissions on a team, can someone help with with the set of relations I have to do?
I have:
User - model
Team - Model
TeamUser - Model
But I get an error when I try to save the team, when I select user roles
This is how I was thinking to make it using repeater,
Any help would be really appriciated.
Thanks
I have a case where I use spatie permissions, and I want to be able to give user roles and permissions on a team, can someone help with with the set of relations I have to do?
I have:
User - model
Team - Model
TeamUser - Model
But I get an error when I try to save the team, when I select user roles
This is how I was thinking to make it using repeater,
Any help would be really appriciated.
Thanks
