[Erp5-report] r29597 - /erp5/trunk/products/ERP5/Tool/NotificationTool.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 13 14:48:46 CEST 2009
Author: nicolas
Date: Tue Oct 13 14:48:44 2009
New Revision: 29597
URL: http://svn.erp5.org?rev=29597&view=rev
Log:
Declare security for getDocumentValue mthod
Modified:
erp5/trunk/products/ERP5/Tool/NotificationTool.py
Modified: erp5/trunk/products/ERP5/Tool/NotificationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Tool/NotificationTool.py?rev=29597&r1=29596&r2=29597&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Tool/NotificationTool.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Tool/NotificationTool.py [utf8] Tue Oct 13 14:48:44 2009
@@ -1,3 +1,4 @@
+# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (c) 2004-2009 Nexedi SA and Contributors. All Rights Reserved.
@@ -422,6 +423,7 @@
"""
return self.getPortalEventTypeList()
+ security.declareProtected(Permissions.AccessContentsInformation, 'getDocumentValue')
def getDocumentValue(self, **kw):
"""
Returns the last version of a Notification Document in selected Language.
More information about the Erp5-report
mailing list