Commit 5f22a089 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Fix security declaration for createAllComponentFromFilesystem in ComponentTool.

parent 3d5096a5
......@@ -100,7 +100,7 @@ class ComponentTool(BaseTool):
tv[key] = None
transaction.get().addBeforeCommitHook(self.reset)
security.declareProtected(Permissions.ManagePortal,
security.declareProtected(Permissions.ModifyPortalContent,
'createAllComponentFromFilesystem')
def createAllComponentFromFilesystem(self, erase_existing=False,
REQUEST=None):
......
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