hoodiehq / discussion

General discussions and questions about Hoodie
7 stars 1 forks source link

all users have access to all data and a central db #103

Open pmbanugo opened 8 years ago

pmbanugo commented 8 years ago

Can I build an app where all users have access to the same data?

Maybe each user have access to their own data and have all the user db synchronise to a central db or option 2, have a central db and many users access it. I think the last option sounds better for my case.

all users have access to the same db (kind of like having a user table and authenticating based on user role/claims, and redirecting to appropriate pages). they all basically access the same data but like having multiple user to one db.

gr2m commented 8 years ago

from slack

hmm maybe have a central db where all user db replicates to. not sure how this will work. but from the top of my head I can say all users have access to the same db (kind of like having a user table and authenticating based on user role/claims, and redirecting to appropriate pages).
they all basically access the same data but like having multiple user to one db

[6:00]  
maybe having db for each user and have it replicate or have a central db and load it all up to the client for each user

[6:02]  
ok will open an issue tomorrow when I have clear mind on what I want