Commit 4e245a6f authored by 's avatar

Merged security assertion fix from 2.2 branch

parent 95ea8fc7
......@@ -92,6 +92,9 @@ from AccessControl.PermissionMapping import aqwrap
class ProductDispatcher(Acquisition.Implicit):
" "
# Allow access to factory dispatchers
__allow_access_to_unprotected_subobjects__=1
def __getitem__(self, name):
product=self.aq_acquire('_getProducts')()._product(name)
dispatcher=FactoryDispatcher(product, self.aq_parent)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment