Commit ca7a489f authored by Hanno Schlichting's avatar Hanno Schlichting

Remove security declaration for removed DELETE method.

parent a8e04abb
...@@ -596,8 +596,6 @@ class File(Persistent, Implicit, PropertyManager, ...@@ -596,8 +596,6 @@ class File(Persistent, Implicit, PropertyManager,
return next, size return next, size
security.declareProtected(delete_objects, 'DELETE')
security.declareProtected(change_images_and_files, 'PUT') security.declareProtected(change_images_and_files, 'PUT')
def PUT(self, REQUEST, RESPONSE): def PUT(self, REQUEST, RESPONSE):
"""Handle HTTP PUT requests""" """Handle HTTP PUT requests"""
...@@ -800,7 +798,6 @@ class Image(File): ...@@ -800,7 +798,6 @@ class Image(File):
security.declareProtected(ftp_access, 'manage_FTPstat') security.declareProtected(ftp_access, 'manage_FTPstat')
security.declareProtected(ftp_access, 'manage_FTPlist') security.declareProtected(ftp_access, 'manage_FTPlist')
security.declareProtected(ftp_access, 'manage_FTPget') security.declareProtected(ftp_access, 'manage_FTPget')
security.declareProtected(delete_objects, 'DELETE')
_properties = ( _properties = (
{'id': 'title', 'type': 'string'}, {'id': 'title', 'type': 'string'},
......
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