8 Jan
2004
8 Jan
'04
3:27 p.m.
Hi there. What is the proper way to validate zope's security in an unrestricted script? ...object = make a request object and wrap the root zope object... result = object.aq_acquire(methodName) if not AccessControl.getSecurityManager().validate(object, None, methodName, result): raise Exception('Unauthorised:' + methodName) I know this should be close to what is should be. But what about an objects properties, and accessing their __str__ and __call__ type methods. Is there a formal way of envoking Zope's security? Thanks Herman _________________________________________________________________ Rain, shine, sleet, snow? Find out at MSN Weather! http://www.msn.co.za/weather/