Commit 6aba0d1b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

zope4: OFS.Image.File no longer has manage_FTPlist and manage_FTPstat.

parent da2a0194
......@@ -195,6 +195,7 @@ class File(Document, OFS_File):
OFS_File.PUT(self, REQUEST, RESPONSE)
self.reindexObject()
if hasattr(OFS_File, 'manage_FTPlist'):
security.declareProtected(Permissions.FTPAccess, 'manage_FTPstat',
'manage_FTPlist')
manage_FTPlist = OFS_File.manage_FTPlist
......
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