Commit 43852ba9 authored by Evan Simpson's avatar Evan Simpson

Add security declarations for FTP access.

parent f095c270
......@@ -15,7 +15,7 @@
Zope object encapsulating a Page Template.
"""
__version__='$Revision: 1.29 $'[11:-2]
__version__='$Revision: 1.30 $'[11:-2]
import os, AccessControl, Acquisition, sys
from Globals import DTMLFile, ImageFile, MessageDialog, package_home
......@@ -97,6 +97,9 @@ class ZopePageTemplate(Script, PageTemplate, Historical, Cacheable,
'ZScriptHTML_tryForm', 'PrincipiaSearchSource',
'document_src', 'source.html', 'source.xml')
security.declareProtected('FTP access',
'manage_FTPstat','manage_FTPget','manage_FTPlist')
pt_editForm = PageTemplateFile('www/ptEdit', globals(),
__name__='pt_editForm')
pt_editForm._owner = 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