Commit e2267af2 authored by Alexandre Boeglin's avatar Alexandre Boeglin

Fixed permission string.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3971 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 57c1788b
......@@ -92,7 +92,7 @@ class Image (Base, CMFPhoto):
security.declareProtected('View', 'index_html')
index_html = CMFPhoto.index_html
security.declareProtected('AccessContentsInformation', 'content_type')
security.declareProtected(Permissions.AccessContentsInformation, 'content_type')
content_type = CMFPhoto.content_type
# Copy support needs to be implemented by ExtFile
......@@ -126,3 +126,4 @@ class Image (Base, CMFPhoto):
# Aliases for uniform update of data
def manage_upload(self, file='', REQUEST=None):
self.manage_file_upload(self, file=file, REQUEST=None)
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