Commit b7f93e55 authored by Jim Fulton's avatar Jim Fulton

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

'manage_main', and 'manage_uploadForm' to 'Change DTML Methods'. This
is needed to make view filtering work properly.
parent 032ffbaa
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
############################################################################## ##############################################################################
"""DTML Method objects.""" """DTML Method objects."""
__version__='$Revision: 1.52 $'[11:-2] __version__='$Revision: 1.53 $'[11:-2]
import History import History
from Globals import HTML, HTMLFile, MessageDialog from Globals import HTML, HTMLFile, MessageDialog
...@@ -136,10 +136,10 @@ class DTMLMethod(HTML, Acquisition.Implicit, RoleManager, ...@@ -136,10 +136,10 @@ class DTMLMethod(HTML, Acquisition.Implicit, RoleManager,
__ac_permissions__=( __ac_permissions__=(
('View management screens', ('View management screens',
('manage_editForm', 'manage', 'manage_main', 'manage_uploadForm', ('document_src', 'PrincipiaSearchSource')),
'document_src', 'PrincipiaSearchSource')),
('Change DTML Methods', ('Change DTML Methods',
('manage_edit', 'manage_upload', 'PUT', ('manage_editForm', 'manage', 'manage_main', 'manage_uploadForm',
'manage_edit', 'manage_upload', 'PUT',
'manage_historyCopy', 'manage_historyCopy',
'manage_beforeHistoryCopy', 'manage_afterHistoryCopy', 'manage_beforeHistoryCopy', 'manage_afterHistoryCopy',
) )
......
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