diff --git a/bt5/erp5_web/ModuleTemplateItem/web_site_module.xml b/bt5/erp5_web/ModuleTemplateItem/web_site_module.xml index e8a26e0f06105ba7aee91bda60fad9e8ee269fbd..58f691398da080f4b8690a58e462b627789d15c7 100644 --- a/bt5/erp5_web/ModuleTemplateItem/web_site_module.xml +++ b/bt5/erp5_web/ModuleTemplateItem/web_site_module.xml @@ -251,6 +251,8 @@ </permission> <permission type='list'> <name>Add portal content</name> + <role>Assignor</role> + <role>Manager</role> </permission> <permission type='list'> <name>Add portal folders</name> @@ -350,6 +352,8 @@ </permission> <permission type='list'> <name>Copy or Move</name> + <role>Assignor</role> + <role>Manager</role> </permission> <permission type='list'> <name>Create Transient Objects</name> diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow.xml index 2bb7bc2ce5c97e37bb2844109a857e7bc40baa1e..961c75c473f76eeebd03cb66b1482cc6342b09b5 100644 --- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow.xml +++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow.xml @@ -52,6 +52,7 @@ <string>Add portal content</string> <string>Modify portal content</string> <string>Delete objects</string> + <string>Copy or Move</string> </tuple> </value> </item> diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/embedded.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/embedded.xml index 9e4adce2fb5b32e6fc71820f7a3896c1ffada2ce..39ec85c1db6dbf3a0448f1d8512863d0631001ec 100644 --- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/embedded.xml +++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/embedded.xml @@ -17,6 +17,12 @@ <key> <string>id</string> </key> <value> <string>embedded</string> </value> </item> + <item> + <key> <string>permission_roles</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> + </value> + </item> <item> <key> <string>title</string> </key> <value> <string>Embedded</string> </value> @@ -43,4 +49,65 @@ </dictionary> </pickle> </record> + <record id="2" aka="AAAAAAAAAAI="> + <pickle> + <tuple> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>data</string> </key> + <value> + <dictionary> + <item> + <key> <string>Access contents information</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>Add portal content</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>Copy or Move</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> + <item> + <key> <string>Delete objects</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>Modify portal content</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>View</string> </key> + <value> + <list/> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> </ZopeData> diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired.xml index 99a17c36f985a58b6e31851b53ce042ad9ce5447..d93e54753b31c4eb6bdfbacc939b538831506c44 100644 --- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired.xml +++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired.xml @@ -70,16 +70,26 @@ <tuple/> </value> </item> + <item> + <key> <string>Copy or Move</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>Delete objects</string> </key> <value> - <list/> + <tuple> + <string>Manager</string> + </tuple> </value> </item> <item> <key> <string>Modify portal content</string> </key> <value> - <list/> + <tuple> + <string>Manager</string> + </tuple> </value> </item> <item> diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml index 611ab04d591204c025f503bb8969811292e31dcd..b969c8f3780b67aa58eb845dafb0de740e2daa17 100644 --- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml +++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_protected.xml @@ -75,6 +75,12 @@ <tuple/> </value> </item> + <item> + <key> <string>Copy or Move</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>Delete objects</string> </key> <value> diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml index e2a9111c5d2fc59e6cbacc190f21a0177601dbca..707d6ee65c913f29ebdfdd738d77ca960bc08c2d 100644 --- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml +++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/expired_published.xml @@ -81,6 +81,12 @@ <tuple/> </value> </item> + <item> + <key> <string>Copy or Move</string> </key> + <value> + <tuple/> + </value> + </item> <item> <key> <string>Delete objects</string> </key> <value> diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/protected.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/protected.xml index 4c997a98549ae5ca1ec3c23277b822f6dd11dd91..5c018e287b5ca46d9637f039cba68d2452c30845 100644 --- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/protected.xml +++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/protected.xml @@ -52,17 +52,14 @@ <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> </tuple> </pickle> <pickle> <dictionary> <item> - <key> <string>_container</string> </key> + <key> <string>data</string> </key> <value> <dictionary> <item> @@ -85,6 +82,15 @@ </tuple> </value> </item> + <item> + <key> <string>Copy or Move</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> <item> <key> <string>Delete objects</string> </key> <value> diff --git a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/published.xml b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/published.xml index 40bcff6cb37c82a18f5272d2aab8ed0e20341915..5817675ed09a1f305ce5ae4c5c9c8464988a29f0 100644 --- a/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/published.xml +++ b/bt5/erp5_web/WorkflowTemplateItem/portal_workflow/category_publication_workflow/states/published.xml @@ -52,17 +52,14 @@ <record id="2" aka="AAAAAAAAAAI="> <pickle> <tuple> - <tuple> - <string>Persistence</string> - <string>PersistentMapping</string> - </tuple> - <none/> + <global name="PersistentMapping" module="Persistence.mapping"/> + <tuple/> </tuple> </pickle> <pickle> <dictionary> <item> - <key> <string>_container</string> </key> + <key> <string>data</string> </key> <value> <dictionary> <item> @@ -92,6 +89,15 @@ </tuple> </value> </item> + <item> + <key> <string>Copy or Move</string> </key> + <value> + <tuple> + <string>Assignor</string> + <string>Manager</string> + </tuple> + </value> + </item> <item> <key> <string>Delete objects</string> </key> <value> diff --git a/bt5/erp5_web/bt/revision b/bt5/erp5_web/bt/revision index 126adfec91785699f5240d03b1ffa558f24d798b..eb6fa5affc47b4659eb7b1337c525abd1f355908 100644 --- a/bt5/erp5_web/bt/revision +++ b/bt5/erp5_web/bt/revision @@ -1 +1 @@ -772 \ No newline at end of file +773 \ No newline at end of file