Commit db8f5d13 authored by Jim Fulton's avatar Jim Fulton

Changed permission assignments for 'manage_editForm', 'manage',

'manage_main', 'manage_uploadForm' 'manage_historyCopy',
'manage_beforeHistoryCopy', and 'manage_afterHistoryCopy' to 'Change
DTML Documents'. This is needed to make view filtering work properly.
parent b7f93e55
......@@ -84,7 +84,7 @@
##############################################################################
"""DTML Document objects."""
__version__='$Revision: 1.37 $'[11:-2]
__version__='$Revision: 1.38 $'[11:-2]
from DocumentTemplate.DT_Util import InstanceDict, TemplateDict
from ZPublisher.Converters import type_converters
from Globals import HTML, HTMLFile, MessageDialog
......@@ -115,8 +115,14 @@ class DTMLDocument(PropertyManager, DTMLMethod):
)
__ac_permissions__=(
('Change DTML Documents', ('manage_edit', 'manage_upload', 'PUT')),
)
('Change DTML Documents',
('manage_editForm', 'manage', 'manage_main', 'manage_uploadForm',
'manage_edit', 'manage_upload', 'PUT',
'manage_historyCopy',
'manage_beforeHistoryCopy', 'manage_afterHistoryCopy',
)
),
)
def manage_edit(self,data,title,SUBMIT='Change',dtpref_cols='50',
dtpref_rows='20',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