Commit df5a5707 authored by Jim Fulton's avatar Jim Fulton

Added permission settings to be inherited.

parent 05b71407
......@@ -85,7 +85,7 @@
"""WebDAV support - collection objects."""
__version__='$Revision: 1.11 $'[11:-2]
__version__='$Revision: 1.12 $'[11:-2]
import sys, os, string
from Resource import Resource
......@@ -101,6 +101,11 @@ class Collection(Resource):
__dav_collection__=1
__ac_permissions__=(
('Add Documents, Images, and Files', ('PUT',)),
('Add Folders', ('MKCOL',)),
)
def dav__init(self, request, response):
# We are allowed to accept a url w/o a trailing slash
# for a collection, but are supposed to provide a
......
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