CVS: Products/zzz_generations - generationmanager.py:1.2

Chris McDonough <[email protected]> Tue, 21 Mar 2006 15:03:45 -0500 (EST)
Newsgroups gmane.comp.web.zope.public-cvs
Message-ID <[email protected]>
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, {})

_______________________________________________
Zope-CVS maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zope-cvs

Zope CVS instructions: http://dev.zope.org/CVS