Commit 5a8defd6 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fix a typo in security declaration.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13064 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 44e01f50
......@@ -213,7 +213,7 @@ class ContributionTool(BaseTool):
document.reindexObject()
return document
security.declareProtected( Permissions.AddPortalContent, 'fromXML' )
security.declareProtected( Permissions.AddPortalContent, 'newXML' )
def newXML(self, xml):
"""
Create a new content based on XML data. This is intended for contributing
......
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