I would like to develop a program where a customer has a user to login and I would like the user who logs in to see only their own data for example tickets
So i have many to many User <-> Customer
One to Many Customer -> Ticket
If i logon like admin instead i want to see all the tickets
Can someone tell me the right way to do this think in Cuba?
I am a newbie so sorry about the request