inoi/trombi — pull request #30 by truemped (2011-10-19 17:19:42+00:00)
Title: Adding support for CouchDB user management

Hi there!

First update from my side about the user management stuff. Will create a new Session API branch based on that tomorrow morning!

Description:
You may call either method on the `trombi.Server` instance:

- add_user(name, password, callback, doc=None)
Add a user with a name, password and a callback. Optionally
add the default user doc with the doc arg

- get_user(name, callback)
Return the user's document

- update_user(user_doc, password, callback)
Update a user's document. If you want the password not to be
changed, use `None` as value.

- delete_user(user_doc, callback)
Simply delete a user document

Best
Daniel