[Zope-CVS] CVS: Products/zzz_generations - generationmanager.py:1.2
    Chris McDonough 
    chrism at plope.com
       
    Tue Mar 21 15:03:45 EST 2006
    
    
  
Update of /cvs-repository/Products/zzz_generations
In directory cvs.zope.org:/tmp/cvs-serv22043
Modified Files:
	generationmanager.py 
Log Message:
Use the proper permission for manage_getAppInfo.
=== Products/zzz_generations/generationmanager.py 1.1.1.1 => 1.2 ===
--- Products/zzz_generations/generationmanager.py:1.1.1.1	Fri Apr 23 15:23:15 2004
+++ Products/zzz_generations/generationmanager.py	Tue Mar 21 15:03:44 2006
@@ -1,4 +1,4 @@
-##############################################################################
+#############################################################################
 #
 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
 #
@@ -55,7 +55,7 @@
     security.setDefaultAccess(ok)
     security.setPermissionDefault(MANAGE_GENERATIONS, ['Manager'])
 
-    security.declareProtected(MANAGE_GENERATIONS, 'manage_listApps')
+    security.declareProtected(MANAGE_GENERATIONS, 'manage_getAppInfo')
     def manage_getAppInfo(self):
         root = self._p_jar.root()
         db_generation_info = root.get(generations_key, {})
    
    
More information about the Zope-CVS
mailing list