I understand that if I want to enable authorization/authentication for static content then all I have to do is put identity.on = True into the static content sections of my configuration file:
[/static1] static_filter.on = True static_filter.dir = '%(top_level_dir)s/static1' [/static2] static_filter.on = True static_filter.dir = '%(top_level_dir)s/static2' But where do I define who is exactly allowed access to /static1 and /static2? In particular I'd like to allow users in group A to access only /static1 and users in group B to access both /static1 and /static2. Where do I need to put the code corresponding to these predicates? Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

