[CMF-checkins] CVS: Products/CMFCore/interfaces - portal_actions.py:1.19.2.2

Yvo Schubbe y.2005- at wcm-solutions.de
Tue Jan 25 11:04:50 EST 2005


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

Modified Files:
      Tag: yuppie-new_actions-branch
	portal_actions.py 
Log Message:
- removed deprecated 'name' and 'permissions' keys from ActionInfo
- allowed 'description' key in ActionInfo
- implemented IAction in the oldstyle ActionInformation class and used this interface to simplify ActionInfo
- updated tests
- some import cleanup


=== Products/CMFCore/interfaces/portal_actions.py 1.19.2.1 => 1.19.2.2 ===
--- Products/CMFCore/interfaces/portal_actions.py:1.19.2.1	Mon Jan 24 14:31:15 2005
+++ Products/CMFCore/interfaces/portal_actions.py	Tue Jan 25 11:04:20 2005
@@ -172,13 +172,7 @@
 
       - available (boolean): the result of checking the condition
 
-      - allowed (boolean): the result of checking permissions
-
-    Deprecated keys:
-        
-      - name (string): use 'id' or 'title' instead
-
-      - permissions (tuple): use 'allowed' instead; The user must have at
-        least one of the listed permissions to access the action. If the list
-        is empty, the user is allowed.
+      - allowed (boolean): the result of checking permissions;
+        The user must have at least one of the listed permissions to access
+        the action. If the list is empty, the user is allowed.
     """



More information about the CMF-checkins mailing list