Commit 1731a975 authored by Yoshinori Okuji's avatar Yoshinori Okuji

setLastId must use Permissions.ModifyPortalContent.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6991 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 91c04339
...@@ -146,7 +146,7 @@ class ERP5Site ( FolderMixIn, CMFSite ): ...@@ -146,7 +146,7 @@ class ERP5Site ( FolderMixIn, CMFSite ):
return None return None
# Required to allow content creation outside folders # Required to allow content creation outside folders
security.declareProtected(Permissions.View, 'setLastId') security.declareProtected(Permissions.ModifyPortalContent, 'setLastId')
def setLastId(self, id): def setLastId(self, id):
self.last_id = id self.last_id = id
......
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