Kerchack
Assign current team when User is created
I have managed to integrate roles and permissions with users and multi-tenancy. My issue arises when registering a new user.
I have created a new resource and properly associated the relationships between Team and User. In the user creation form, I have added the necessary fields to register a user. However, upon registration, the user is not being assigned to the current team.
I am unsure which file I need to configure in order to assign the current team as soon as the user is saved.
14 replies