Each of my database tables has an
organisation_id field. Now I need to merge two organisations data into a single database but keep them separate for each user (multi-tenancy).
I am saving the users own
organisation_id in the Session as the user logs in.
Is there a central place in the DataAbstract Service, Schema or DataStreamer where I can catch requests to open any datatable and where I can set the “organisation_id” parameter (checking if it exists first)?