[Erp5-report] r20389 - /erp5/trunk/products/ERP5/Document/Document.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 9 16:35:01 CEST 2008


Author: jerome
Date: Wed Apr  9 16:35:00 2008
New Revision: 20389

URL: http://svn.erp5.org?rev=20389&view=rev
Log:
isSupportBaseDataConversion should be protected by AccessContentsInformation, not ModifyPortalContent

Modified:
    erp5/trunk/products/ERP5/Document/Document.py

Modified: erp5/trunk/products/ERP5/Document/Document.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/Document.py?rev=20389&r1=20388&r2=20389&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/Document.py (original)
+++ erp5/trunk/products/ERP5/Document/Document.py Wed Apr  9 16:35:00 2008
@@ -1302,7 +1302,8 @@
     """
     raise NotImplementedError
 
-  security.declareProtected(Permissions.ModifyPortalContent, 'isSupportBaseDataConversion')
+  security.declareProtected(Permissions.AccessContentsInformation,
+                            'isSupportBaseDataConversion')
   def isSupportBaseDataConversion(self):
     """
     This is a public interface to check a document that is support conversion




More information about the Erp5-report mailing list