Commit d3edff55 authored by Jérome Perrin's avatar Jérome Perrin

tweak manage_options to have 'Workflows' tab under ZMI



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9488 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e36326fd
......@@ -31,6 +31,7 @@ from Acquisition import aq_base, aq_self
import ExtensionClass
from Products.CMFCore.utils import _getAuthenticatedUser
from Products.CMFCore.CMFCatalogAware import CMFCatalogAware
from Products.ERP5Type.Base import Base
from Products.ERP5Type.CopySupport import CopyContainer
......@@ -290,7 +291,10 @@ class Folder( CopyContainer, CMFBTreeFolder, Base, FolderMixIn):
# Declarative security
security = ClassSecurityInfo()
security.declareObjectProtected(Permissions.AccessContentsInformation)
manage_options = ( CMFBTreeFolder.manage_options +
CMFCatalogAware.manage_options
)
# Declarative properties
property_sheets = ( PropertySheet.Base
, PropertySheet.XMLObject
......
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