amazing ! I am in design phase for my new app, and it demands this kind of scenario and I was studying what possibilities and or directions to take... now I have an excellent one!!!
thank you so much... and looking forward to new episode :)
Nice post... have being a while without “no one” taking/sharing “simplified” approach to implement multitenancy. I would like to ask ... what your opinion/recommendation to extend the possibility to a user interact with more than one company ?
In this sense ... extracting to a new model company_user ... what do you think : 1) user choosing the current-company-id “in use” and keep at user model Database - level Or 2) user choosing the current-company-id “in-use” and keep at cookies Session - level Positives and negatives between this 2 scenarios ? There is another Alternative ?
☒ i was thinking to extend/upgrade the permissions being not "linked" directly to a user but to a "user-profile" ... something like: "user.profile.permissions" have you did this before ? any suggestion ?