Commit a6793732 authored by 's avatar

Added manage_workspace to permission setup.

parent 88b9df92
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
############################################################################## ##############################################################################
"""Image object""" """Image object"""
__version__='$Revision: 1.67 $'[11:-2] __version__='$Revision: 1.68 $'[11:-2]
import Globals, string, struct, mimetypes, content_types import Globals, string, struct, mimetypes, content_types
from Globals import HTMLFile, MessageDialog from Globals import HTMLFile, MessageDialog
...@@ -128,7 +128,8 @@ class File(Persistent,Implicit,PropertyManager, ...@@ -128,7 +128,8 @@ class File(Persistent,Implicit,PropertyManager,
) )
__ac_permissions__=( __ac_permissions__=(
('View management screens', ('manage','manage_uploadForm',)), ('View management screens', ('manage','manage_workspace',
'manage_uploadForm',)),
('Change Images and Files', ('manage_edit','manage_upload','PUT')), ('Change Images and Files', ('manage_edit','manage_upload','PUT')),
('View', ('index_html','view_image_or_file','getSize','getContentType', ('View', ('index_html','view_image_or_file','getSize','getContentType',
'')), '')),
......
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