Switch between being a team-member and a single user (without a team)
So, I'm building a service that facilitates the contact between customers (single users) and companies (teams).
There isn't a built-in solution for this, so for now it's kinda hacked with disabling middleware VerifyUserHasTeam and a couple of other things that doesn't fit my needs.
But now I would like, as a user on a company (team), to be able to change my current "state" to being a customer (single user) — like when you change company (team).
How would I store, and check, for this? I imagine setting some kind of value on the session, isCustomer or something to true.
...or how would I handle this?
Please or to participate in this conversation.