Christophe de VIENNE schrieb: > The thing is that in the other predicates, "identity" is used. Note > that in this context "identity" is the parameter of the function, not > the identity module. > So my understanding is that the predicate shouldn't access the global > "current" identity but the one given as a parameter.
Ah, sorry, now I see what you mean. It actually amounts to the same, since "not_anonymous" is intended to be used by the "require" decorator which always passes "current" as the "identity" parameter. But you're right, this should at least be handled consistently in all predicates. -- Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
