{"action":"created","issue":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3732","labels_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3732/labels{/name}","comments_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3732/comments","events_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3732/events","html_url":"https://github.com/pouchdb/pouchdb/issues/3732","id":68012605,"number":3732,"title":"[question] pouchdb, so for each user in my application, we have a database created?","user":{"login":"ptgamr","id":1619740,"avatar_url":"https://avatars.githubusercontent.com/u/1619740?v=3","gravatar_id":"","url":"https://api.github.com/users/ptgamr","html_url":"https://github.com/ptgamr","followers_url":"https://api.github.com/users/ptgamr/followers","following_url":"https://api.github.com/users/ptgamr/following{/other_user}","gists_url":"https://api.github.com/users/ptgamr/gists{/gist_id}","starred_url":"https://api.github.com/users/ptgamr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptgamr/subscriptions","organizations_url":"https://api.github.com/users/ptgamr/orgs","repos_url":"https://api.github.com/users/ptgamr/repos","events_url":"https://api.github.com/users/ptgamr/events{/privacy}","received_events_url":"https://api.github.com/users/ptgamr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-04-13T05:40:39Z","updated_at":"2015-04-14T23:28:11Z","closed_at":null,"body":"Not really an issue, better mark it as a question/discussion"},"comment":{"url":"https://api.github.com/repos/pouchdb/pouchdb/issues/comments/93109973","html_url":"https://github.com/pouchdb/pouchdb/issues/3732#issuecomment-93109973","issue_url":"https://api.github.com/repos/pouchdb/pouchdb/issues/3732","id":93109973,"user":{"login":"daleharvey","id":37787,"avatar_url":"https://avatars.githubusercontent.com/u/37787?v=3","gravatar_id":"","url":"https://api.github.com/users/daleharvey","html_url":"https://github.com/daleharvey","followers_url":"https://api.github.com/users/daleharvey/followers","following_url":"https://api.github.com/users/daleharvey/following{/other_user}","gists_url":"https://api.github.com/users/daleharvey/gists{/gist_id}","starred_url":"https://api.github.com/users/daleharvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daleharvey/subscriptions","organizations_url":"https://api.github.com/users/daleharvey/orgs","repos_url":"https://api.github.com/users/daleharvey/repos","events_url":"https://api.github.com/users/daleharvey/events{/privacy}","received_events_url":"https://api.github.com/users/daleharvey/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T23:28:11Z","updated_at":"2015-04-14T23:28:11Z","body":"In general pouchdb is very much setup towards having a database per user, I dont think the problems with this setup @ermouth mentions in stack overflow are particularly applicable. A lot of them look like problems of trying to use couchdb as an app platform and not a database\r\n\r\nThe shared access control problem is a common problem with not a lot of proven solutions for, using acls on a single database, replicating central databases on the server are ways people have dealt with it and your mileage may vary, in general I would swing the opposite way of ermouth though and do a solution with per user db's as a base"}}