On Wed, Sep 16, 2009 at 6:40 AM, Christopher Arndt <[email protected]>wrote:

>
> Ken Kuhlman schrieb:
> > I haven't tried it, but it looks like you should be able to just add an
> > "identity.require" line to your config sections.
>
> I thought I knew the identity framework in TG1 pretty well but I never
> noticed this functionality. Amazing! I don't think this is documented
> anywhere in the official docs. I'm opening a ticket now...
>
> > See:
> >   The SecureObject class in turbogears.identity.conditions
> >   http://trac.turbogears.org/changeset/552
> >   http://nerd.metrocat.org/2006/01/refining-the-identity-framework
>
> Wow, where did you dig up that article?! Almost from the prehistoric age
> of TurboGears ;) Interestingly, Jeff seems to claim that SecureObject
> should protect a whole controller tree too, not only SecureResource. If
> that is so, it sheds a new light on #2207.
>
>
> Chris
>
>
I knew it would be a good question since it was from Daniel, so I went
digging.  I saw the reference to an identity.require config setting in
turbogears.identity.conditions right away but couldn't find any docs so I
went googling.

After reading a related thread, where Kevin Horn asked about moving identity
predicates from controller code to config [1], I was able to narrow the
search down to postings from Jeff Watkins.  That led me to his blog.

If those days weren't prehistoric, they were at least the wild west. :-)

Thanks,
-Ken

[1]
http://groups.google.com/group/turbogears/browse_thread/thread/31840a7cbdfac119

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to