Paul Johnston schrieb: > Hi, > > I have some authorization checks that I need to apply to every method in > a controller. I could apply a decorator to each method, but is there a > way to apply this at the controller level? > > I'm not using identity; the app uses intergrated Windows authentication. > I'm wondering if this is possible using CherryPy filters; if anyone > knows some specifics that would be great!
Use a metaclass for you controller. Or just a post-class-creation decoration scheme, if you prefer that. Diez --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

