Commit dcba3c6c authored by 's avatar

Fixed permissions - 'manage_workspace' didnt appear in any permissions,

making mgmt interfaces inaccessible to anyone w/o the Manager role.
parent e7ece45a
......@@ -84,7 +84,7 @@
##############################################################################
"""DTML Document objects."""
__version__='$Revision: 1.12 $'[11:-2]
__version__='$Revision: 1.13 $'[11:-2]
from DocumentTemplate.DT_Util import InstanceDict, TemplateDict
from ZPublisher.Converters import type_converters
from Globals import HTML, HTMLFile, MessageDialog
......@@ -114,7 +114,7 @@ class DTMLDocument(DTMLMethod, PropertyManager):
__ac_permissions__=(
('View management screens', ('manage', 'manage_main', 'manage_editForm',
'manage_tabs', 'manage_uploadForm',
'document_src')),
'manage_workspace', 'document_src')),
('Access contents information', ('PROPFIND',)),
('Change permissions', ('manage_access',)),
('Change DTML Documents', ('manage_edit', 'manage_upload', 'PUT')),
......
......@@ -84,7 +84,7 @@
##############################################################################
"""DTML Method objects."""
__version__='$Revision: 1.9 $'[11:-2]
__version__='$Revision: 1.10 $'[11:-2]
from Globals import HTML, HTMLFile, MessageDialog
from string import join,split,strip,rfind,atoi,lower
......@@ -119,7 +119,7 @@ class DTMLMethod(cDocument, HTML, Explicit, RoleManager, Item_w__name__):
__ac_permissions__=(
('View management screens', ('manage', 'manage_main', 'manage_editForm',
'manage_tabs', 'manage_uploadForm',
'document_src')),
'manage_workspace', 'document_src')),
('Access contents information', ('PROPFIND',)),
('Change DTML Methods', ('manage_edit', 'manage_upload', 'PUT')),
('Change proxy roles', ('manage_proxyForm', 'manage_proxy')),
......
......@@ -87,9 +87,9 @@
Folders are the basic container objects and are analogous to directories.
$Id: Folder.py,v 1.69 1999/03/10 00:15:15 klm Exp $"""
$Id: Folder.py,v 1.70 1999/03/16 17:20:30 brian Exp $"""
__version__='$Revision: 1.69 $'[11:-2]
__version__='$Revision: 1.70 $'[11:-2]
import Globals, SimpleItem, Acquisition, mimetypes, content_types
from Globals import HTMLFile
......@@ -155,7 +155,8 @@ class Folder(ObjectManager, PropertyManager, RoleManager, Collection,
__ac_permissions__=(
('View', ('HEAD',)),
('View management screens',
('manage','manage_menu','manage_main','manage_copyright',
('manage','manage_menu','manage_main','manage_workspace',
'manage_copyright',
'manage_tabs','manage_propertiesForm','manage_UndoForm',
'manage_cutObjects', 'manage_copyObjects', 'manage_pasteObjects',
'manage_renameForm', 'manage_renameObject',
......
......@@ -84,7 +84,7 @@
##############################################################################
"""Image object"""
__version__='$Revision: 1.59 $'[11:-2]
__version__='$Revision: 1.60 $'[11:-2]
import Globals, string, struct, mimetypes, content_types
from Globals import HTMLFile, MessageDialog
......@@ -128,7 +128,8 @@ class File(Persistent,Implicit,PropertyManager,
)
__ac_permissions__=(
('View management screens', ('manage','manage_tabs','manage_uploadForm')),
('View management screens', ('manage','manage_tabs','manage_uploadForm',
'manage_workspace')),
('Access contents information', ('PROPFIND',)),
('Change permissions', ('manage_access',)),
('Change Images and Files', ('manage_edit','manage_upload','PUT')),
......
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