user

Good afternoon, I have a question, I do not know whether to implement multi tenancy for something like this, where a broker has tracks, because I want the tracking is associated with that broker, currently the table saves the user_id and do not know how when you log in that broker only bring those who registered, because currently if you register a tracking can see them all.
3 Replies
awcodes
awcodes8mo ago
you could use tenancy for this. personally, i think that's overkill. you can just use a normal relationship, then with policies and modifying the query, only show tracks that belong to the logged in user / broker
PaulaAndrea
PaulaAndrea8mo ago
and the tenancy panel can I remove the option to belong to a team? since the tenancy option is viable, but I don't want the broker to be able to create teams.
awcodes
awcodes8mo ago
Tenancy requires teams.