Hi Pinakee. Maybe you'd like to read the steps from the (not yet
released) Quick Tutorial:
https://github.com/Pylons/pyramid/blob/docs.quicktutorial/docs/quick_tutorial/authentication.rst
https://github.com/Pylons/pyramid/blob/docs.quicktutorial/docs/quick_tutorial/authorization.rst
I don't explain how the context comes in (from the root factory), as I
briefly thought I should have a tutorial step that talks only about root
factories and context. But I then thought that was TMI (too much
information.)
My writeup does show how you could use authentication without
authorization, e.g. for personalizing a website.
--Paul
On 9/14/13 7:08 AM, [email protected] wrote:
Hi Andreas,
Thanks for the url. It did help me in setting up the basic authentication.
But am not quite clear on bunch of stuffs still:
1. How does the security get the userid from request?
2. What's context?
3. The dependancy of authentication on authorization doesn't make sense.
4. How does the permission thing work? When the permission for a view is set,
how does it get set for a specific userid?
I would probably would need to spend some more time on this.
But if you could share some references, links, docs etc, would be really
helpful.
Thanks,
Pinakee
Sent from BlackBerryŽ on Airtel
-----Original Message-----
From: Andreas Kaiser <[email protected]>
Sender: [email protected]
Date: Fri, 13 Sep 2013 11:51:09
To: <[email protected]>
Reply-To: [email protected]
Subject: Re: Pyramid Security
On 13.09.2013, at 11:36, "Biswas, Pinakee" <[email protected]> wrote:
I would really appreciate if you could help me with the above and provide me
some info which clearly states the flow of the authentication process using
pyramid security and takes me step by step.
Chris McDonough's talk at PyCon US 2013 "Pyramid Auth Is Hard, Let's Ride
Bikes" could be what you're looking for: http://www.youtube.com/watch?v=k20hBed8I9M
HTH,
Andreas
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.