Hello list. I'm new here. A totally newbie trying to learn.

I have a web application for internal use and developed with Django and 
running over Apache.
In the app the access to every section is avaliable only for authenticated 
users with permissions over the view (except for the login).

For this I use the authentication module provided for Django. The basic 
usage used for me is something like:

@decorator_to_check_permission
def my_view(request....
   ......

Now I must to create a section with multiple data and a lot of references 
and a lot of ajax. The section is almost finished. Just need one more 
thing. The info in the page can be edited by multiple users. If an user 
edit some section the other user must to refresh the page (or only a 
section with ajax) to see the changes. Well, this is ugly. For that I want 
to use node.js, just for this section inside the page. Learn about Comet 
and programming this. Timers+Ajax or hidden Iframes aren't in my plans.

Now my question. Are any way to check if the user is authenticated and if 
have the permissions to get responses from node.js? Can I use the same 
authentification from Django or I must to use another authentification 
module from node.js?  When the connection is opened? 

As you can see, i'm a little loss with this. Maybe my question is stupid or 
not logical, but I don't know... the change isn't easy ...at least for me.

Bye, Cheers

P.D.: Sorry for my english. Is ugly and rough.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to