[CMF-checkins] CVS: Products/CMFCore - PortalContent.py:1.24

Tres Seaver tseaver@zope.com
Mon, 13 Aug 2001 07:51:38 -0400


Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv15725/CMFCore

Modified Files:
	PortalContent.py 
Log Message:


 - PortalContent._verifyActionPermissions: Remove fossilized reference
   to 'getSecurityManager'.

 - Disable CMFDefault.tests.test_join from test_all, as its shortcut
   (creating an entire site) was blowing up.


=== Products/CMFCore/PortalContent.py 1.23 => 1.24 ===
 from Globals import InitializeClass
 from OFS.SimpleItem import SimpleItem
-from AccessControl import ClassSecurityInfo, getSecurityManager
+from AccessControl import ClassSecurityInfo
 from CMFCorePermissions import AccessContentsInformation, View, \
      ReviewPortalContent, ModifyPortalContent
 import CMFCorePermissions
@@ -204,7 +204,6 @@
         pp = action.get('permissions', ())
         if not pp:
             return 1
-        sm = getSecurityManager()
         for p in pp:
             if _checkPermission(p, self):
                 return 1