Commit 63f8a91d authored by Nicolas Delaby's avatar Nicolas Delaby

- manage_FTPget is now defined in mixin.downloadable

- use permission constant instead of string value


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37802 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a5f5bc78
......@@ -189,8 +189,8 @@ class File(Document, CMFFile):
# DAV Support
PUT = CMFFile.PUT
security.declareProtected('FTP access', 'manage_FTPget', 'manage_FTPstat', 'manage_FTPlist')
manage_FTPget = CMFFile.manage_FTPget
security.declareProtected(Permissions.FTPAccess, 'manage_FTPstat',
'manage_FTPlist')
manage_FTPlist = CMFFile.manage_FTPlist
manage_FTPstat = CMFFile.manage_FTPstat
......
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