Unanswered: Login Dialog with CouchDB user backend
did anybody implemented am ExtJS app which is using the usermanagement from CouchDB? I didn't find any example how I can handle the session and login, so I don't know where I've to start.
My user story lokks like this:
If no user logged in, the display a login dialog. If user logged in, read it from the session token and use it in the application. Also check if user has the correct role.
If user logged in , display a logout button.
Anyone who can help here?