diff --git a/product/ERP5Type/Tool/ClassTool.py b/product/ERP5Type/Tool/ClassTool.py index 1e6a5fc411ca33dd8db79de8faaeca46abe4f08f..319336c1758aeef39d423b71a7179ec85d6951d2 100644 --- a/product/ERP5Type/Tool/ClassTool.py +++ b/product/ERP5Type/Tool/ClassTool.py @@ -315,7 +315,6 @@ if allowClassTool(): from AccessControl import ClassSecurityInfo from Products.CMFCore.utils import getToolByName -from Products.CMFCore.WorkflowCore import WorkflowMethod from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface from Products.ERP5Type.XMLObject import XMLObject @@ -857,6 +856,13 @@ def initialize( context ): if REQUEST is not None: REQUEST.RESPONSE.redirect('%s/manage_viewProductGeneration?manage_tabs_message=New+Product+Saved+In+%s' % (self.absolute_url(), base_path)) + security.declareProtected(Permissions.ManagePortal, 'getDocumentationHelper') + def getDocumentationHelper(self, uri, helper_class): + """ + Returns a documentation of the appropriate class (helper_class) + for a given uri + """ + security.declareProtected( Permissions.ManagePortal, 'asDocumentationHelper') def asDocumentationHelper(self, class_id):