From 6e1b8e20434ba5e9889f0fa02b798af2e40b048c Mon Sep 17 00:00:00 2001
From: Tristan Cavelier <tristan.cavelier@tiolive.com>
Date: Tue, 21 Jul 2015 08:45:36 +0000
Subject: [PATCH] XXX erp5_crm:

---
 .../ModuleTemplateItem/campaign_module.xml    |  4 ++++
 .../ModuleTemplateItem/event_module.xml       | 22 +++++++++----------
 .../ModuleTemplateItem/meeting_module.xml     |  4 ++++
 .../sale_opportunity_module.xml               |  4 ++++
 .../support_request_module.xml                |  4 ++++
 5 files changed, 26 insertions(+), 12 deletions(-)

diff --git a/bt5/erp5_crm/ModuleTemplateItem/campaign_module.xml b/bt5/erp5_crm/ModuleTemplateItem/campaign_module.xml
index 67c4d4e754..759ff81c53 100644
--- a/bt5/erp5_crm/ModuleTemplateItem/campaign_module.xml
+++ b/bt5/erp5_crm/ModuleTemplateItem/campaign_module.xml
@@ -1,4 +1,7 @@
 <module>
+ <category_list>
+  <category>business_application/7</category>
+ </category_list>
  <id>campaign_module</id>
  <permission_list>
   <permission type='tuple'>
@@ -79,6 +82,7 @@
    <role>Assignor</role>
    <role>Associate</role>
    <role>Auditor</role>
+   <role>Author</role>
    <role>Manager</role>
   </permission>
   <permission type='tuple'>
diff --git a/bt5/erp5_crm/ModuleTemplateItem/event_module.xml b/bt5/erp5_crm/ModuleTemplateItem/event_module.xml
index 8d8e993b01..fbbad966e7 100644
--- a/bt5/erp5_crm/ModuleTemplateItem/event_module.xml
+++ b/bt5/erp5_crm/ModuleTemplateItem/event_module.xml
@@ -1,4 +1,7 @@
 <module>
+ <category_list>
+  <category>business_application/7</category>
+ </category_list>
  <id>event_module</id>
  <permission_list>
   <permission type='tuple'>
@@ -34,24 +37,12 @@
    <role>Author</role>
    <role>Manager</role>
   </permission>
-  <permission type='tuple'>
-   <name>Add portal folders</name>
-   <role>Assignor</role>
-   <role>Author</role>
-   <role>Manager</role>
-  </permission>
-  <permission type='tuple'>
-   <name>Change local roles</name>
-   <role>Assignor</role>
-   <role>Manager</role>
-  </permission>
   <permission type='tuple'>
    <name>Copy or Move</name>
    <role>Assignee</role>
    <role>Assignor</role>
    <role>Associate</role>
    <role>Auditor</role>
-   <role>Author</role>
    <role>Manager</role>
   </permission>
   <permission type='tuple'>
@@ -73,12 +64,19 @@
    <role>Assignor</role>
    <role>Manager</role>
   </permission>
+  <permission type='tuple'>
+   <name>Translate Content</name>
+   <role>Assignor</role>
+   <role>Author</role>
+   <role>Manager</role>
+  </permission>
   <permission type='tuple'>
    <name>View</name>
    <role>Assignee</role>
    <role>Assignor</role>
    <role>Associate</role>
    <role>Auditor</role>
+   <role>Author</role>
    <role>Manager</role>
   </permission>
   <permission type='tuple'>
diff --git a/bt5/erp5_crm/ModuleTemplateItem/meeting_module.xml b/bt5/erp5_crm/ModuleTemplateItem/meeting_module.xml
index 0363ef30a7..2b8d7f3a14 100644
--- a/bt5/erp5_crm/ModuleTemplateItem/meeting_module.xml
+++ b/bt5/erp5_crm/ModuleTemplateItem/meeting_module.xml
@@ -1,4 +1,7 @@
 <module>
+ <category_list>
+  <category>business_application/7</category>
+ </category_list>
  <id>meeting_module</id>
  <permission_list>
   <permission type='tuple'>
@@ -79,6 +82,7 @@
    <role>Assignor</role>
    <role>Associate</role>
    <role>Auditor</role>
+   <role>Author</role>
    <role>Manager</role>
   </permission>
   <permission type='tuple'>
diff --git a/bt5/erp5_crm/ModuleTemplateItem/sale_opportunity_module.xml b/bt5/erp5_crm/ModuleTemplateItem/sale_opportunity_module.xml
index 0be10c811f..a34ee9e70c 100644
--- a/bt5/erp5_crm/ModuleTemplateItem/sale_opportunity_module.xml
+++ b/bt5/erp5_crm/ModuleTemplateItem/sale_opportunity_module.xml
@@ -1,4 +1,7 @@
 <module>
+ <category_list>
+  <category>business_application/7</category>
+ </category_list>
  <id>sale_opportunity_module</id>
  <permission_list>
   <permission type='tuple'>
@@ -79,6 +82,7 @@
    <role>Assignor</role>
    <role>Associate</role>
    <role>Auditor</role>
+   <role>Author</role>
    <role>Manager</role>
   </permission>
   <permission type='tuple'>
diff --git a/bt5/erp5_crm/ModuleTemplateItem/support_request_module.xml b/bt5/erp5_crm/ModuleTemplateItem/support_request_module.xml
index 5e30caed91..6671ff8b96 100644
--- a/bt5/erp5_crm/ModuleTemplateItem/support_request_module.xml
+++ b/bt5/erp5_crm/ModuleTemplateItem/support_request_module.xml
@@ -1,4 +1,7 @@
 <module>
+ <category_list>
+  <category>business_application/7</category>
+ </category_list>
  <id>support_request_module</id>
  <permission_list>
   <permission type='tuple'>
@@ -79,6 +82,7 @@
    <role>Assignor</role>
    <role>Associate</role>
    <role>Auditor</role>
+   <role>Author</role>
    <role>Manager</role>
   </permission>
   <permission type='tuple'>
-- 
2.30.9