Commit f5ffdf8f authored by Aurel's avatar Aurel

fix security declaration for getVariationBaseCategoryList


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6014 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6aec63c7
......@@ -148,7 +148,7 @@ class Amount(Base, Variated):
self._setVariationCategoryList(value)
self.reindexObject()
security.declareProtected(Permissions.ModifyPortalContent,
security.declareProtected(Permissions.AccessContentsInformation,
'getVariationBaseCategoryList')
def getVariationBaseCategoryList(self, omit_option_base_category=0):
"""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment