about authorship

16 views
Skip to first unread message

Goog Jobs

unread,
Feb 18, 2012, 8:52:27 AM2/18/12
to CouchApp
if a website has 1Million user , we can still de the authorship in
couchdb ?


function(newDoc, oldDoc, userCtx) {
if (newDoc.author) {
enforce(newDoc.author == userCtx.name,
"You may only update documents with author " + userCtx.name);
}
}

Benoit Chesneau

unread,
Feb 23, 2012, 8:33:52 AM2/23/12
to CouchApp
Which kind of problems do you expect?

- benoît

goog cheng

unread,
Feb 25, 2012, 4:14:36 AM2/25/12
to couc...@googlegroups.com
can i put the account and pwd into the couchdb   or  have to use the sql?  I want to use no sql ,  is there a  solution? THX!
--
You received this message because you are subscribed to the Google Groups "CouchApp" group.
To post to this group, send email to couc...@googlegroups.com.
To unsubscribe from this group, send email to couchapp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/couchapp?hl=en.

Reply all
Reply to author
Forward
0 new messages