[Checkins] SVN: Products.SQLAlchemyDA/trunk/__init__.py removed security assertions since the focus of SQLAlchemyDA changed for being

Andreas Jung andreas at andreas-jung.com
Sat Jun 9 02:13:10 EDT 2007


Log message for revision 76528:
  removed security assertions since the focus of SQLAlchemyDA changed for being
  a Zope 2 DA *only*
  

Changed:
  U   Products.SQLAlchemyDA/trunk/__init__.py

-=-
Modified: Products.SQLAlchemyDA/trunk/__init__.py
===================================================================
--- Products.SQLAlchemyDA/trunk/__init__.py	2007-06-09 06:10:59 UTC (rev 76527)
+++ Products.SQLAlchemyDA/trunk/__init__.py	2007-06-09 06:13:09 UTC (rev 76528)
@@ -24,13 +24,3 @@
                                         manage_addSAWrapper),
                           icon = SOFTWARE_HOME + '/Shared/DC/ZRDB/www/DBAdapterFolder_icon.gif',
                           permission=ADD_SA_WRAPPER_PERMISSION)                          
-
-
-    # make sqlalchemy classes available to untrusted code
-    from AccessControl.SecurityInfo import ModuleSecurityInfo, allow_module, allow_class
-
-    from sqlalchemy.orm.session import Session
-    from sqlalchemy.orm.query import Query
-
-    allow_class(Session)
-    allow_class(Query)



More information about the Checkins mailing list