Commit 79604ab6 authored by 's avatar

*** empty log message ***

parent d7005989
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
# #
############################################################################## ##############################################################################
__doc__='''Base Principia __doc__='''Base Principia
$Id: __init__.py,v 1.21 1999/03/10 00:15:26 klm Exp $''' $Id: __init__.py,v 1.22 1999/03/10 16:32:38 brian Exp $'''
__version__='$Revision: 1.21 $'[11:-2] __version__='$Revision: 1.22 $'[11:-2]
import Version, Draft, ZClasses import Version, Draft, ZClasses
import OFS.Image, OFS.Folder, AccessControl.User import OFS.Image, OFS.Folder, AccessControl.User
...@@ -120,9 +120,6 @@ meta_types=( ...@@ -120,9 +120,6 @@ meta_types=(
) )
) )
def PUT(self):
# This is here mainly as a hac^H^Hook for holding PUT permissions
raise TypeError, 'Directory PUT is not supported'
methods={ methods={
# for bw compatibility # for bw compatibility
...@@ -139,8 +136,6 @@ methods={ ...@@ -139,8 +136,6 @@ methods={
'manage_addFileForm': OFS.Image.manage_addFileForm, 'manage_addFileForm': OFS.Image.manage_addFileForm,
'manage_addVersionForm': Version.manage_addVersionForm, 'manage_addVersionForm': Version.manage_addVersionForm,
'manage_addVersion': Version.manage_addVersion, 'manage_addVersion': Version.manage_addVersion,
'PUT': PUT,
'PUT__roles__': ('Manager',),
'manage_addUserFolder': AccessControl.User.manage_addUserFolder, 'manage_addUserFolder': AccessControl.User.manage_addUserFolder,
'manage_addPrincipiaDraftForm': Draft.manage_addPrincipiaDraftForm, 'manage_addPrincipiaDraftForm': Draft.manage_addPrincipiaDraftForm,
'manage_addPrincipiaDraft': Draft.manage_addPrincipiaDraft, 'manage_addPrincipiaDraft': Draft.manage_addPrincipiaDraft,
...@@ -160,10 +155,9 @@ __ac_permissions__=( ...@@ -160,10 +155,9 @@ __ac_permissions__=(
('manage_addDTMLDocumentForm', 'manage_addDTMLDocument', ('manage_addDTMLDocumentForm', 'manage_addDTMLDocument',
'manage_addDTMLMethodForm', 'manage_addDTMLMethod', 'manage_addDTMLMethodForm', 'manage_addDTMLMethod',
'manage_addFileForm', 'manage_addFile', 'manage_addFileForm', 'manage_addFile',
'manage_addImageForm', 'manage_addImage', 'manage_addImageForm', 'manage_addImage')
'PUT')
), ),
('Add Folders',('manage_addFolderForm', 'manage_addFolder')), ('Add Folders',('manage_addFolderForm', 'manage_addFolder', 'MKCOL')),
('Add User Folders',('manage_addUserFolder',)), ('Add User Folders',('manage_addUserFolder',)),
('Change DTML Documents', ()), ('Change DTML Documents', ()),
('Change DTML Methods', ()), ('Change DTML Methods', ()),
......
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