Commit 1188d629 authored by Andreas Jung's avatar Andreas Jung

- Collector #790: WebDAV access is granted by default only

       to Managers and Authenticated users instead to Anonymous users.
       This restricts access to the Control_Panel and especially
       to the Products management to trusted users.
parent 1f2babb5
...@@ -43,6 +43,11 @@ Zope Changes ...@@ -43,6 +43,11 @@ Zope Changes
Bugs Fixed Bugs Fixed
- Collector #790:WebDAV access is granted by default only
to Managers and Authenticated users instead to Anonymous users.
This restricts access to the Control_Panel and especially
to the Products management to trusted users.
- Cut & Delete operations on locked objects (WebDAV) are no longer - Cut & Delete operations on locked objects (WebDAV) are no longer
permitted and will raise an exception. Copies of locked objects permitted and will raise an exception. Copies of locked objects
are copied without lock. are copied without lock.
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"""WebDAV support - resource objects.""" """WebDAV support - resource objects."""
__version__='$Revision: 1.54 $'[11:-2] __version__='$Revision: 1.55 $'[11:-2]
import sys, os, mimetypes, davcmds, ExtensionClass, Lockable import sys, os, mimetypes, davcmds, ExtensionClass, Lockable
from common import absattr, aq_base, urlfix, rfc1123_date, tokenFinder, urlbase from common import absattr, aq_base, urlfix, rfc1123_date, tokenFinder, urlbase
...@@ -43,7 +43,7 @@ class Resource(ExtensionClass.Base, Lockable.LockableItem): ...@@ -43,7 +43,7 @@ class Resource(ExtensionClass.Base, Lockable.LockableItem):
__ac_permissions__=( __ac_permissions__=(
('View', ('HEAD',)), ('View', ('HEAD',)),
('WebDAV access', ('PROPFIND',), ('WebDAV access', ('PROPFIND',),
('Anonymous', 'Manager')), ('Authenticated', 'Manager')),
('Manage properties', ('PROPPATCH',)), ('Manage properties', ('PROPPATCH',)),
('Delete objects', ('DELETE',)), ('Delete objects', ('DELETE',)),
('WebDAV Lock items', ('LOCK',)), ('WebDAV Lock items', ('LOCK',)),
......
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