Skip to content

Commit

Permalink
Fixing permission for download (refs #22)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-batranu committed May 27, 2015
1 parent 90afffc commit 7fc3196
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/app/blob/field.py
Expand Up @@ -293,7 +293,7 @@ def fixAutoId(self, instance):
# a file name was given, so the instance needs to be renamed...
instance.setId(filename)

@security.private
@security.protected(View)
def download(self, instance, REQUEST=None, RESPONSE=None):
""" download the file (use default index_html) """
return self.index_html(
Expand Down

0 comments on commit 7fc3196

Please sign in to comment.