Skip to content

Commit

Permalink
Remove security declaration for removed DELETE method.
Browse files Browse the repository at this point in the history
  • Loading branch information
hannosch committed Aug 7, 2016
1 parent a8e04ab commit ca7a489
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/OFS/Image.py
Expand Up @@ -596,8 +596,6 @@ def _read_data(self, file):

return next, size

security.declareProtected(delete_objects, 'DELETE')

security.declareProtected(change_images_and_files, 'PUT')
def PUT(self, REQUEST, RESPONSE):
"""Handle HTTP PUT requests"""
Expand Down Expand Up @@ -800,7 +798,6 @@ class Image(File):
security.declareProtected(ftp_access, 'manage_FTPstat')
security.declareProtected(ftp_access, 'manage_FTPlist')
security.declareProtected(ftp_access, 'manage_FTPget')
security.declareProtected(delete_objects, 'DELETE')

_properties = (
{'id': 'title', 'type': 'string'},
Expand Down

0 comments on commit ca7a489

Please sign in to comment.