Re: Application security model

2009-12-20 Thread Paweł Stawicki
I think there should be one user for whole web application. But how to give him rights only to one db? I would also like to know. Regards -- Paweł Stawicki http://pawelstawicki.blogspot.com http://szczecin.jug.pl http://www.java4people.com

Re: Simple replication fails to copy over design docs

2009-12-20 Thread Robert Campbell
The source machine is completely open, while the destination machine is locked down. I log in to the destination machine, then select the remote (source, open) database to copy from, then the local, empty DB to copy into. On Fri, Dec 18, 2009 at 6:31 PM, Robert Newson robert.new...@gmail.com

Observation on REST lib performance

2009-12-20 Thread 7zark7
Not specifically about CouchDB, but have been experimenting with REST-based Java/Groovy DAOs using CouchDB as the backend. Thought folks here might be interested in the info. I created some REST DAOs using Groovy's HttpBuilder, and Spring's RestTemplate. Both use Google's GSON library for

Re: Simple replication fails to copy over design docs

2009-12-20 Thread Robert Newson
Possibly the same problem but in reverse then? Your replication tasks doesn't authenticate and therefore can't update documents in the _design namespace on the destination? B. On Sun, Dec 20, 2009 at 4:35 PM, Robert Campbell rrc...@gmail.com wrote: The source machine is completely open, while

Re: Simple replication fails to copy over design docs

2009-12-20 Thread Adam Kocoloski
Hi Robert (Campbell), the replicator uses the authentication credentials you supply in your POST to /_replicate to open any local DBs. If you're doing this through Futon, it may be that Futon is not sending an Authorization header in that replication request. I suspect that if you try the

Re: Application security model

2009-12-20 Thread Paweł Stawicki
What I need, is right at database level. I don't want to put permissions on every document, but for database. Is it possible? Best regards -- Paweł Stawicki http://pawelstawicki.blogspot.com http://szczecin.jug.pl http://www.java4people.com On Mon, Dec 21, 2009 at 01:29, go canal