[Zope-dev] getRoles()

Erik Myllymaki erik.myllymaki at aviawest.com
Wed May 5 19:49:44 EDT 2004


I was fooling around in AccessControl\User.py, tying to add some user 
groups from an NT domain in the getRoles() method. Why does the 
getRoles() method get called so many times? Seems like once for each 
object on a page that needs authentication? Was making for a VERY slow 
page load while my NT Domain was across a slow WAN link.

I would have thought it would have been called once and then cached, or...?

thanks for any insight.





More information about the Zope-Dev mailing list