[CMF-checkins] CVS: Products/CMFCore - ActionInformation.py:1.31
Stefan H. Holek
stefan at epy.co.at
Sat Jul 16 08:16:06 EDT 2005
Update of /cvs-repository/Products/CMFCore
In directory cvs.zope.org:/tmp/cvs-serv12959/CMFCore
Modified Files:
ActionInformation.py
Log Message:
CMFCore/ActionInformation.py: Permissions of action categories starting
with 'document' are now evaluated in the object context instead of the
portal context. This should probably be generalized some more.
=== Products/CMFCore/ActionInformation.py 1.30 => 1.31 ===
--- Products/CMFCore/ActionInformation.py:1.30 Sun Jun 26 07:10:08 2005
+++ Products/CMFCore/ActionInformation.py Sat Jul 16 08:15:36 2005
@@ -232,7 +232,8 @@
category = self['category']
object = ec.contexts['object']
if object is not None and ( category.startswith('object') or
- category.startswith('workflow') ):
+ category.startswith('workflow') or
+ category.startswith('document') ):
context = object
else:
folder = ec.contexts['folder']
More information about the CMF-checkins
mailing list