[Erp5-report] r7152 - /erp5/trunk/products/ERP5Type/Base.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 10 17:08:03 CEST 2006
Author: romain
Date: Wed May 10 17:07:59 2006
New Revision: 7152
URL: http://svn.erp5.org?rev=7152&view=rev
Log:
Modify security configuration of getTitleOrId, by changing View to
AccessContentInformation.
Modified:
erp5/trunk/products/ERP5Type/Base.py
Modified: erp5/trunk/products/ERP5Type/Base.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/Base.py?rev=7152&r1=7151&r2=7152&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/Base.py (original)
+++ erp5/trunk/products/ERP5Type/Base.py Wed May 10 17:07:59 2006
@@ -1598,7 +1598,8 @@
return self._getCategoryTool().isAcquiredMemberOf(self, category)
# Aliases
- security.declareProtected(Permissions.View, 'getTitleOrId')
+ security.declareProtected(Permissions.AccessContentsInformation,
+ 'getTitleOrId')
def getTitleOrId(self):
"""
Returns the title or the id if the id is empty
More information about the Erp5-report
mailing list