diff --git a/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_addGadgetList.xml b/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_addGadgetList.xml index 65a6b107ad701df41dc500537c5922d4b3d9c414..2347c1f6415dc15f53fe1b43ff20fcf1a3d9c55c 100644 --- a/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_addGadgetList.xml +++ b/bt5/erp5_web_ung_theme/SkinTemplateItem/portal_skins/erp5_web_ung_theme/WebSection_addGadgetList.xml @@ -59,7 +59,8 @@ if not gadget_id_list:\n gadget_id_list = gadget_id_list.split(",")\n knowledge_pad = portal_catalog.getResultValue(portal_type="Knowledge Pad",\n publication_section_uid=context.getUid(),\n - validation_state=["visible", "public"])\n + validation_state=["visible", "public"],\n + local_roles="Owner")\n \n for gadget_id in gadget_id_list:\n knowledge_box = knowledge_pad.newContent(portal_type="Knowledge Box")\n diff --git a/bt5/erp5_web_ung_theme/bt/revision b/bt5/erp5_web_ung_theme/bt/revision index db057cf772e890ebc873cfb478871418be419963..ac471d3ba0cca3f689cdf6462b3864fb73a52b60 100644 --- a/bt5/erp5_web_ung_theme/bt/revision +++ b/bt5/erp5_web_ung_theme/bt/revision @@ -1 +1 @@ -354 \ No newline at end of file +355 \ No newline at end of file