I On Apr 11, 2006, at 8:50 PM, Qvx wrote: > If I decide to write a TG extension, how can I make sure that my CP > filter is installed after Identity filter? >
Good question. That should depend on the order entry_points are loaded in startup which I believe there is no way to guarantee a given order right now (that I'm aware of). I'm facing a similar problem right now implementing an authorization filter for TurboPeakSecurity because I need identity to kick in before authorization to retrieve the current user from there. One idea that comes to mind is subtituting the filter list with a priority queue of some sort that maintins the list interface. Extensions could then insert their filters at the prio. queue with the right priority. Something like SystemVs init levels (S20_network, S50_sshd, etc...). CP will then get the filters in the correct order when iterating this "prio-list". Any comments on this? Alberto --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

