My problem with the way couch implements security is that there's no
per-doc read validation, only on writes. A user either have full read
access, or no access at all (please correct me if I'm wrong).
A proposed solution by the couchbase guys is to have multiple databases,
one for each user, and then use replication to share the data, but this
seems unmanageable to me once you get thousands of users syncing docs
around.
The replicator also uses GETs on the documents to get their revisions,
though, no? I know it doesn't do it for new documents, but the filtered
replication would not cause that situation, I guess..
Thanks Dave!