I was wondering if someone has a smart solution for my problem ๐ I am working on a project where a customer works at different companies. The customer creates an account at my app for Company1, completes his profile settings and wants to add his second account for Company2 to the same profile account as Company1. I can create a table in between as relation table from User Account to Profile, but i still have an issue. Everything the customer does when he is logged in as Company1 its documents will be created with his current userId. When he logs in as Company2 then he no longer has permission to edit them.
Does someone has a smart solution that i didnt think of?
Recommended threads
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...