From 818c730ed54963c0487221d1efeb733312b7f432 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Aubort Date: Tue, 12 Aug 2008 14:55:37 +0200 Subject: [PATCH 1/9] * Added security to: board, hr, account * Removed all references to user_admin and group_admin bzr revid: jean-baptiste.aubort@camptocamp.com-20080812125537-36h5hwzzpvc3z1fd --- addons/account/account_security.xml | 1252 +++++------------ addons/account/account_view.xml | 8 +- addons/account/account_wizard.xml | 2 +- addons/account/data/account_data2.xml | 8 +- addons/base_setup/base_setup_data.xml | 4 +- addons/board/board_security.xml | 79 ++ addons/board_account/board_account_demo.xml | 2 +- .../board_manufacturing_demo.xml | 4 +- addons/board_project/board_project_demo.xml | 4 +- addons/board_sale/board_sale_demo.xml | 2 +- addons/crm/crm_security.xml | 4 - addons/crm/crm_view.xml | 16 +- addons/hr/hr_department_demo.xml | 16 +- addons/hr/hr_security.xml | 407 +++--- addons/hr/hr_view.xml | 22 +- addons/hr_timesheet/hr_timesheet_demo.xml | 20 +- addons/hr_timesheet/hr_timesheet_wizard.xml | 2 +- .../hr_timesheet_sheet_demo.xml | 2 +- addons/mrp/mrp_data.xml | 2 +- addons/mrp/mrp_security.xml | 4 - addons/mrp/mrp_view.xml | 2 +- addons/processus/ir.model.access.csv | 4 - addons/product/product_security.xml | 118 +- addons/product/product_view.xml | 2 +- addons/project/project_demo.xml | 8 +- addons/project/project_security.xml | 4 - addons/project/project_view.xml | 2 +- addons/purchase/purchase_security.xml | 4 - addons/purchase/purchase_unit_test.xml | 2 +- addons/sale/sale_demo.xml | 2 +- addons/sale/sale_security.xml | 4 - addons/sale/sale_unit_test.xml | 4 +- addons/sale/sale_view.xml | 2 +- addons/stock/stock_view.xml | 2 +- addons/subscription/subscription_view.xml | 2 +- 35 files changed, 718 insertions(+), 1304 deletions(-) create mode 100644 addons/board/board_security.xml diff --git a/addons/account/account_security.xml b/addons/account/account_security.xml index 33fda7ff04e..168b4bd904e 100644 --- a/addons/account/account_security.xml +++ b/addons/account/account_security.xml @@ -1,930 +1,358 @@ - - - Financial Invoice - - - - Financial User - - - - Financial Admin - - - - - - - - Payment Term - - - - - - - - - Payment Term - - - - - - - - - - - - Payment Term Line - - - - - - - - - Payment Term Line - - - - - - - - - - - Account Type - - - - - - - - - Account Type - - - - - - - - - - - Account - - - - - - - - - Account - - - - - - - - - - - Journal View - - - - - - - - - Journal View - - - - - - - - - - - - Journal Column - - - - - - - - - Journal Column - - - - - - - - - - - - Journal - - - - - - - - - Journal - - - - - - - - - - - - Fiscal Year - - - - - - - - - Fiscal Year - - - - - - - - - - - - Period - - - - - - - - - Period - - - - - - - - - - - - Journal Period - - - - - - - - - Journal Period - - - - - - - - - - - - Entry - - - - - - - - - - - Entry - - - - - - - - - - - - Reconciliation - - - - - - - - - - - Reconciliation - - - - - - - - - - - - Tax Code - - - - - - - - - Tax Code - - - - - - - - - - - - Tax - - - - - - - - - Tax - - - - - - - - - - - - Budget Item - - - - - - - - - Budget Item - - - - - - - - - - Budget Item Endowment - - - - - - - - - Budget Item Endowment - - - - - - - - - - Model - - - - - - - - - Model - - - - - - - - - - Model Line - - - - - - - - - Model Line - - - - - - - - - - Subscription - - - - - - - - - Subscription - - - - - - - - - - Subscription Line - - - - - - - - - Subscription Line - - - - - - - - - - Bank Statement - - - - - - - - - Bank Statement - - - - - - - - - - Statement Reconcile - - - - - - - - - Statement Reconcile - - - - - - - - - - Statement Reconcile Line - - - - - - - - - Statement Reconcile Line - - - - - - - - - - - - Bank Statement Line - - - - - - - - - Bank Statement Line - - - - - - - - - - - - Entry Lines - - - - - - - - - Entry Lines - - - - - - - - - - - - Invoice - - - - - - - - - Invoice - - - - - - - - - - - - Invoice Line - - - - - - - - - Invoice Line - - - - - - - - - - - - Invoice Tax - - - - - - - - - Invoice Tax - - - - - - - - - - - + + account_invoice_tax group_project_member + + + + + + + + + + account_journal group_employee + + + + + + + + + + account_journal_column group_employee + + + + + + + + + + account_journal_period group_employee + + + + + + + + + + account_journal_view group_employee + + + + + + + + + + account_model group_erp_manager + + + + + + + + + + account_model_line group_erp_manager + + + + + + + + + + account_move group_sales + + + + + + + + + + account_move_line group_sales + + + + + + + + + + account_move_reconcile group_sales + + + + + + + + + + account_payment_term group_account_payment + + + + + + + + + + account_payment_term_line group_account_payment + + + + + + + + + + account_payment_term group_employee + + + + + + + + + + account_payment_term_line group_employee + + + + + + + + + + account_period group_employee + + + + + + + + + + account_subscription group_erp_manager + + + + + + + + + + account_subscription_line group_erp_manager + + + + + + + + + + account_tax group_employee + + + + + + + + + + account_tax_code group_employee + + + + + + + + + \ No newline at end of file diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 1b50734c4b6..d1ce5bd3fbb 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -58,9 +58,9 @@ - + account.period.form @@ -101,7 +101,7 @@ - diff --git a/addons/account/account_wizard.xml b/addons/account/account_wizard.xml index 6c18f8f9b61..9553ff26538 100644 --- a/addons/account/account_wizard.xml +++ b/addons/account/account_wizard.xml @@ -3,7 +3,7 @@ - + diff --git a/addons/account/data/account_data2.xml b/addons/account/data/account_data2.xml index 9f51843efd2..0ec0e628018 100644 --- a/addons/account/data/account_data2.xml +++ b/addons/account/data/account_data2.xml @@ -304,7 +304,7 @@ - + Expenses Journal @@ -314,7 +314,7 @@ - + @@ -325,7 +325,7 @@ - + @@ -334,7 +334,7 @@ general - + diff --git a/addons/base_setup/base_setup_data.xml b/addons/base_setup/base_setup_data.xml index b8f940f8ad9..02eff787ca9 100644 --- a/addons/base_setup/base_setup_data.xml +++ b/addons/base_setup/base_setup_data.xml @@ -8,12 +8,10 @@ base_setup.base_setup - + - - \ No newline at end of file diff --git a/addons/board/board_security.xml b/addons/board/board_security.xml new file mode 100644 index 00000000000..91c71754caa --- /dev/null +++ b/addons/board/board_security.xml @@ -0,0 +1,79 @@ + + + + + + Board User + + + + Board Manager + + + + + board_board group_board + + + + + + + + + + board_board group_board_manager + + + + + + + + + + board_note group_board + + + + + + + + + + board_note group_board_manager + + + + + + + + + + board_note_type group_board + + + + + + + + + + board_note_type group_board_manager + + + + + + + + + + diff --git a/addons/board_account/board_account_demo.xml b/addons/board_account/board_account_demo.xml index 7206fefc1d5..931c55f4c12 100644 --- a/addons/board_account/board_account_demo.xml +++ b/addons/board_account/board_account_demo.xml @@ -8,7 +8,7 @@ --> Accounting dashboard - + ir.ui.menu 0 diff --git a/addons/board_manufacturing/board_manufacturing_demo.xml b/addons/board_manufacturing/board_manufacturing_demo.xml index f5a026adf1e..20d09124782 100644 --- a/addons/board_manufacturing/board_manufacturing_demo.xml +++ b/addons/board_manufacturing/board_manufacturing_demo.xml @@ -3,12 +3,12 @@ Production dashboard - + ir.ui.menu 4 - + diff --git a/addons/board_project/board_project_demo.xml b/addons/board_project/board_project_demo.xml index 01268fa329d..3a2ad768105 100644 --- a/addons/board_project/board_project_demo.xml +++ b/addons/board_project/board_project_demo.xml @@ -14,13 +14,13 @@ 3 - + Don't forget the new development policies. - + Project diff --git a/addons/board_sale/board_sale_demo.xml b/addons/board_sale/board_sale_demo.xml index ad66d9cf758..3499b2fabb8 100644 --- a/addons/board_sale/board_sale_demo.xml +++ b/addons/board_sale/board_sale_demo.xml @@ -8,7 +8,7 @@ --> Sales dashboard - + ir.ui.menu 1 diff --git a/addons/crm/crm_security.xml b/addons/crm/crm_security.xml index 356e77e8318..a1a3552f1f5 100644 --- a/addons/crm/crm_security.xml +++ b/addons/crm/crm_security.xml @@ -10,10 +10,6 @@ Customer Executive - - - - CRM Case diff --git a/addons/crm/crm_view.xml b/addons/crm/crm_view.xml index 2704bc71e4e..e355719ef11 100644 --- a/addons/crm/crm_view.xml +++ b/addons/crm/crm_view.xml @@ -2,7 +2,7 @@ - + res.partner.events.form @@ -62,7 +62,7 @@ form - + Cases by section @@ -71,7 +71,7 @@ tree - + @@ -105,7 +105,7 @@ form - + @@ -196,7 +196,7 @@ form - + @@ -435,8 +435,8 @@ tree,form - - + + My Histories crm.case.history @@ -444,7 +444,7 @@ tree,form [('user_id','=',uid)] - + crm.segmentation.line.tree diff --git a/addons/hr/hr_department_demo.xml b/addons/hr/hr_department_demo.xml index f4b713b8e82..6e5a38d4a7f 100644 --- a/addons/hr/hr_department_demo.xml +++ b/addons/hr/hr_department_demo.xml @@ -5,54 +5,54 @@ Management - + Administration - + Technical department - + IT - + Marketing - + Sales - + Sales Europe - + Sales America - + diff --git a/addons/hr/hr_security.xml b/addons/hr/hr_security.xml index 3f630c51eca..553d3341f58 100644 --- a/addons/hr/hr_security.xml +++ b/addons/hr/hr_security.xml @@ -8,192 +8,229 @@ - Employee + HR Employee - - - - - - - - HR Department - - - - - - - - - HR Department - - - - - - - - - - - HR Timesheet Group - - - - - - - - - HR Timesheet Group - - - - - - - - - - - HR Employee Category - - - - - - - - - HR Employee Category - - - - - - - - - - - HR Employee - - - - - - - - - HR Employee - - - - - - - - - - - HR Employee Timesheet - - - - - - - - - HR Employee Timesheet - - - - - - - - - - - HR Timesheet Action Reason - - - - - - - - - HR Timesheet Action Reason - - - - - - - - - - - HR Attendance - - - - - - - - - HR Attendance - - - - - - - - - - - HR Holiday Status - - - - - - - - - HR Holiday Status - - - - - - - - - - - HR Holidays - - - - - - - - - HR Holidays - - - - - - - + + + hr_action_reason group_employee + + + + + + + + + + hr_action_reason group_hr_manager + + + + + + + + + + hr_attendance group_employee + + + + + + + + + + hr_department group_hr_manager + + + + + + + + + + hr_employee group_hr_manager + + + + + + + + + + hr_employee group_employee + + + + + + + + + + hr_employee_category group_hr_manager + + + + + + + + + + hr_employee_category group_employee + + + + + + + + + + hr_expense_expense group_hr_manager + + + + + + + + + + hr_expense_expense group_employee + + + + + + + + + + hr_holidays group_hr_manager + + + + + + + + + + hr_holidays group_employee + + + + + + + + + + hr_holidays_status group_hr_manager + + + + + + + + + + hr_holidays_status group_employee + + + + + + + + + + hr_timesheet group_employee + + + + + + + + + + hr_timesheet group_hr_manager + + + + + + + + + + hr_timesheet_group group_employee + + + + + + + + + + hr_timesheet_group group_hr_manager + + + + + + + + + + hr_timesheet_invoice_factor group_employee + + + + + + + + + + hr_timesheet_invoice_factor group_hr_manager + + + + + + + + + + hr_timesheet_sheet_sheet group_hr_manager + + + + + + + + + + hr_timesheet_sheet_sheet group_employee + + + + + + + + \ No newline at end of file diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index bb649734bb0..8f3fe74bf46 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -3,7 +3,7 @@ - + @@ -345,7 +345,7 @@ form - + @@ -377,7 +377,7 @@ tree,form - + hr.action.reason.form @@ -409,7 +409,7 @@ tree,form - + diff --git a/addons/hr_timesheet/hr_timesheet_demo.xml b/addons/hr_timesheet/hr_timesheet_demo.xml index f5f098ceba7..31060ddca4a 100644 --- a/addons/hr_timesheet/hr_timesheet_demo.xml +++ b/addons/hr_timesheet/hr_timesheet_demo.xml @@ -44,7 +44,7 @@ - + @@ -56,7 +56,7 @@ - + @@ -68,7 +68,7 @@ - + @@ -80,7 +80,7 @@ - + @@ -92,7 +92,7 @@ - + @@ -104,7 +104,7 @@ - + @@ -116,7 +116,7 @@ - + @@ -128,7 +128,7 @@ - + @@ -140,7 +140,7 @@ - + @@ -153,7 +153,7 @@ - + diff --git a/addons/hr_timesheet/hr_timesheet_wizard.xml b/addons/hr_timesheet/hr_timesheet_wizard.xml index 3b39fd49b32..f3c197a5ef2 100644 --- a/addons/hr_timesheet/hr_timesheet_wizard.xml +++ b/addons/hr_timesheet/hr_timesheet_wizard.xml @@ -2,7 +2,7 @@ - + \ No newline at end of file diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml index c9f42691f3c..69dd34fdfb9 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml @@ -3,7 +3,7 @@ Sheet 0 - + diff --git a/addons/mrp/mrp_data.xml b/addons/mrp/mrp_data.xml index c315f519a81..8cca7f01d7d 100644 --- a/addons/mrp/mrp_data.xml +++ b/addons/mrp/mrp_data.xml @@ -34,7 +34,7 @@ Run mrp scheduler - + 1 days -1 diff --git a/addons/mrp/mrp_security.xml b/addons/mrp/mrp_security.xml index 02f2efb8d4e..5c4efabb3df 100644 --- a/addons/mrp/mrp_security.xml +++ b/addons/mrp/mrp_security.xml @@ -10,10 +10,6 @@ Workers - - - - diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index 4af03bca6ca..11634ae480f 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -27,7 +27,7 @@ form tree,form - + diff --git a/addons/processus/ir.model.access.csv b/addons/processus/ir.model.access.csv index 1819b4e4c67..a7950953c9a 100644 --- a/addons/processus/ir.model.access.csv +++ b/addons/processus/ir.model.access.csv @@ -3,7 +3,3 @@ access_processus,processus.processus,model_processus_processus,,1,0,0,0 access_node,processus.node,model_processus_node,,1,0,0,0 access_transition,processus.transition,model_processus_transition,,1,0,0,0 access_action,processus.transition.action,model_processus_transition_action,,1,0,0,0 -access_group_processus,processus.processus,model_processus_processus,base.group_admin,1,1,1,1 -access_group_node,processus.node,model_processus_node,base.group_admin,1,1,1,1 -access_group_transition,processus.transition,model_processus_transition,base.group_admin,1,1,1,1 -access_group_action,processus.transition.action,model_processus_transition_action,base.group_admin,1,1,1,1 diff --git a/addons/product/product_security.xml b/addons/product/product_security.xml index 9bc6724dd14..caa51bf3219 100644 --- a/addons/product/product_security.xml +++ b/addons/product/product_security.xml @@ -1,114 +1,10 @@ - - - - Product Manager - - - - - - - - - Product - - - - - - - - - Product - - - - - - - - - - - Product Template - - - - - - - - - Product Template - - - - - - - - - - - Product Pricelist - - - - - - - - - Product Pricelist - - - - - - - - - - - Product Pricelist Version - - - - - - - - - Product Pricelist Version - - - - - - - - - - - Product Pricelist Item - - - - - - - - - Product Pricelist Item - - - - - - - - - + + + + Product Manager + + + \ No newline at end of file diff --git a/addons/product/product_view.xml b/addons/product/product_view.xml index 5b3bdbd279a..0a8b918d0d9 100644 --- a/addons/product/product_view.xml +++ b/addons/product/product_view.xml @@ -3,7 +3,7 @@ - + product.product.tree diff --git a/addons/project/project_demo.xml b/addons/project/project_demo.xml index 118b43810b2..3cf4fc6b78b 100644 --- a/addons/project/project_demo.xml +++ b/addons/project/project_demo.xml @@ -10,7 +10,7 @@ 584.0 1 Tiny ERP Integration - + 216.0 @@ -19,7 +19,7 @@ Study + Prototype - + 264.0 @@ -27,7 +27,7 @@ Specific Developements - + 104.0 @@ -35,7 +35,7 @@ Install, data import, configuration - + diff --git a/addons/project/project_security.xml b/addons/project/project_security.xml index a86527a8809..ca8f496c27c 100644 --- a/addons/project/project_security.xml +++ b/addons/project/project_security.xml @@ -10,10 +10,6 @@ Project Member - - - - Project diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index e7ee126ee28..4ebf181b159 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -2,7 +2,7 @@ - + diff --git a/addons/purchase/purchase_security.xml b/addons/purchase/purchase_security.xml index 3dd713dd4f7..7dfcaff8e00 100644 --- a/addons/purchase/purchase_security.xml +++ b/addons/purchase/purchase_security.xml @@ -6,10 +6,6 @@ Purchase Manager - - - - diff --git a/addons/purchase/purchase_unit_test.xml b/addons/purchase/purchase_unit_test.xml index b179e8f1ba0..6eb611aacf3 100644 --- a/addons/purchase/purchase_unit_test.xml +++ b/addons/purchase/purchase_unit_test.xml @@ -75,7 +75,7 @@ confirmed - + approved diff --git a/addons/sale/sale_demo.xml b/addons/sale/sale_demo.xml index 67584eb2a3b..53796da223f 100644 --- a/addons/sale/sale_demo.xml +++ b/addons/sale/sale_demo.xml @@ -9,7 +9,7 @@ - + diff --git a/addons/sale/sale_security.xml b/addons/sale/sale_security.xml index 84a48e4f765..3c75e6b7bb7 100644 --- a/addons/sale/sale_security.xml +++ b/addons/sale/sale_security.xml @@ -9,10 +9,6 @@ Salesman - - - - diff --git a/addons/sale/sale_unit_test.xml b/addons/sale/sale_unit_test.xml index 89b64507f95..2e0e77ec3c8 100644 --- a/addons/sale/sale_unit_test.xml +++ b/addons/sale/sale_unit_test.xml @@ -5,7 +5,7 @@ - + @@ -43,7 +43,7 @@ manual - + progress diff --git a/addons/sale/sale_view.xml b/addons/sale/sale_view.xml index 0025378df81..cf5b2eeab39 100644 --- a/addons/sale/sale_view.xml +++ b/addons/sale/sale_view.xml @@ -41,7 +41,7 @@ form - + diff --git a/addons/stock/stock_view.xml b/addons/stock/stock_view.xml index f1d8550cd1d..fc994c64e4c 100644 --- a/addons/stock/stock_view.xml +++ b/addons/stock/stock_view.xml @@ -2,7 +2,7 @@ - + ============================= Inventory Line diff --git a/addons/subscription/subscription_view.xml b/addons/subscription/subscription_view.xml index b15d9e2673b..9951eaa8514 100644 --- a/addons/subscription/subscription_view.xml +++ b/addons/subscription/subscription_view.xml @@ -3,7 +3,7 @@ - + Financial Invoice - + Financial User - - + + Financial Admin - - - account_account group_employee + + + Sale Manager + + + + Project Member + + + + Account Payment + + + + + account_account base.group_employee - + - - account_account_type group_employee + + account_account_type base.group_employee - + - - account_analytic_account group_employee + + account_analytic_account base.group_employee - + - - account_analytic_journal group_employee + + account_analytic_journal base.group_employee - + - - account_analytic_line group_employee + + account_analytic_line base.group_employee - + @@ -104,40 +121,40 @@ - - account_fiscalyear group_employee + + account_fiscalyear base.group_employee - + - - account_invoice group_sales + + account_invoice group_sale_manager - + - - account_invoice_line group_sales + + account_invoice_line group_sale_manager - + - - account_invoice_tax group_sales + + account_invoice_tax group_sale_manager - + @@ -174,90 +191,90 @@ - - account_journal group_employee + + account_journal base.group_employee - + - - account_journal_column group_employee + + account_journal_column base.group_employee - + - - account_journal_period group_employee + + account_journal_period base.group_employee - + - - account_journal_view group_employee + + account_journal_view base.group_employee - + - - account_model group_erp_manager + + account_model base.group_erp_manager - + - - account_model_line group_erp_manager + + account_model_line base.group_erp_manager - + - - account_move group_sales + + account_move group_sale_manager - + - - account_move_line group_sales + + account_move_line group_sale_manager - + - - account_move_reconcile group_sales + + account_move_reconcile group_sale_manager - + @@ -284,75 +301,75 @@ - - account_payment_term group_employee + + account_payment_term base.group_employee - + - - account_payment_term_line group_employee + + account_payment_term_line base.group_employee - + - - account_period group_employee + + account_period base.group_employee - + - - account_subscription group_erp_manager + + account_subscription base.group_erp_manager - + - - account_subscription_line group_erp_manager + + account_subscription_line base.group_erp_manager - + - - account_tax group_employee + + account_tax base.group_employee - + - - account_tax_code group_employee + + account_tax_code base.group_employee - + - + \ No newline at end of file diff --git a/addons/account/project/project_security.xml b/addons/account/project/project_security.xml index f7f7dc7fa08..60ec2ffb93c 100644 --- a/addons/account/project/project_security.xml +++ b/addons/account/project/project_security.xml @@ -1,131 +1,68 @@ - - - - Analytic Accounts - - - - - - - - - Analytic Accounts - - - - - - - - - - - - Analytic Journal - - - - - - - - - Analytic Journal - - - - - - - - - - - - - - - - - + + addons + + + + addons + + + + addons + + + + addons + + + + + account_analytic_account base.group_employee + + + + + + + + + + account_analytic_account account.group_account_user + + + + + + + + + + account_analytic_journal account.group_account_user + + + + + + + + + + account_analytic_journal base.group_employee + + + + + + + + + + \ No newline at end of file diff --git a/addons/board/board_security.xml b/addons/board/board_security.xml index 91c71754caa..9bd2aeccd4e 100644 --- a/addons/board/board_security.xml +++ b/addons/board/board_security.xml @@ -1,20 +1,20 @@ - + Board User - + Board Manager - - + + board_board group_board diff --git a/addons/crm/crm_security.xml b/addons/crm/crm_security.xml index a1a3552f1f5..5442d127fca 100644 --- a/addons/crm/crm_security.xml +++ b/addons/crm/crm_security.xml @@ -1,113 +1,142 @@ - - - - Customer Executive - Manager - - - - Customer Executive - - - - - CRM Case - - - - - - - - - CRM Case - - - - - - - - - - - Case Section - - - - - - - - - Case Section - - - - - - - - - - - Case Segmentation - - - - - - - - - Case Segmentation - - - - - - - - - - - Case Segmentation Rules - - - - - - - - - Case Segmentation Rules - - - - - - - - - - - Case History - - - - - - - - - Case History - - - - - - - - + + + + Customer Executive - Manager + + + + Customer Executive - User + + + + + addons + + + + addons + + + + addons + + + + addons + + + + addons + + + + + crm_case group_crm_user + + + + + + + + + + crm_case group_employee + + + + + + + + + + crm_case_log group_employee + + + + + + + + + + crm_case_log group_crm_user + + + + + + + + + + crm_case_rule group_crm_manager + + + + + + + + + + crm_case_rule group_employee + + + + + + + + + + crm_case_section group_crm_manager + + + + + + + + + + crm_case_section group_employee + + + + + + + + + + crm_segmentation group_employee + + + + + + + + + + crm_segmentation group_crm_manager + + + + + + + + + \ No newline at end of file diff --git a/addons/hr/hr_security.xml b/addons/hr/hr_security.xml index 553d3341f58..b90f2ef3b43 100644 --- a/addons/hr/hr_security.xml +++ b/addons/hr/hr_security.xml @@ -1,27 +1,16 @@ - - - - HR Manager - - - - - HR Employee - - - - - hr_action_reason group_employee - - - - - - + + + + HR Manager + hr_action_reason group_hr_manager @@ -32,10 +21,20 @@ - - hr_attendance group_employee + + hr_action_reason base.group_employee + + + + + + + + + + hr_attendance base.group_employee - + @@ -62,10 +61,10 @@ - - hr_employee group_employee + + hr_employee base.group_employee - + @@ -82,34 +81,24 @@ - - hr_employee_category group_employee + + hr_employee_category base.group_employee - + - - hr_expense_expense group_hr_manager - - + + hr_holidays base.group_employee + + - - - - - - - hr_expense_expense group_employee - - - - - - + + + @@ -122,10 +111,10 @@ - - hr_holidays group_employee - - + + hr_holidays_status base.group_employee + + @@ -142,26 +131,6 @@ - - hr_holidays_status group_employee - - - - - - - - - - hr_timesheet group_employee - - - - - - - - hr_timesheet group_hr_manager @@ -172,14 +141,14 @@ - - hr_timesheet_group group_employee - - + + hr_timesheet base.group_employee + + - - - + + + @@ -192,45 +161,15 @@ - - hr_timesheet_invoice_factor group_employee - - + + hr_timesheet_group base.group_employee + + - - hr_timesheet_invoice_factor group_hr_manager - - - - - - - - - - hr_timesheet_sheet_sheet group_hr_manager - - - - - - - - - - hr_timesheet_sheet_sheet group_employee - - - - - - - - - + \ No newline at end of file diff --git a/addons/hr_contract/hr_contract_security.xml b/addons/hr_contract/hr_contract_security.xml deleted file mode 100644 index 8e8889dd730..00000000000 --- a/addons/hr_contract/hr_contract_security.xml +++ /dev/null @@ -1,85 +0,0 @@ - - - - - - - HR Contract Period - - - - - - - - - HR Contract Period - - - - - - - - - - - HR Wages Type - - - - - - - - - HR Wages Type - - - - - - - - - - - HR Contract - - - - - - - - - HR Contract - - - - - - - - - - - HR Contract - - - - - - - - - HR Contract - - - - - - - - - \ No newline at end of file diff --git a/addons/mrp/mrp_security.xml b/addons/mrp/mrp_security.xml index 5c4efabb3df..ce64f427ce3 100644 --- a/addons/mrp/mrp_security.xml +++ b/addons/mrp/mrp_security.xml @@ -1,286 +1,330 @@ - - - - Production Manager - - - - Workers - - - - - - - - - - - - - - - - - Workcenter - - - - - - - - - Workcenter - - - - - - - - - - - Property - - - - - - - - - Property - - - - - - - - - - - Property Group - - - - - - - - - Property Group - - - - - - - - - - - Routing - - - - - - - - - Routing - - - - - - - - - - - Workcenter Routing - - - - - - - - - Workcenter Routing - - - - - - - - - - - Bill of Material - - - - - - - - - Bill of Material - - - - - - - - - - - Bom Revision - - - - - - - - - Bom Revision - - - - - - - - - - - Production - - - - - - - - - Production - - - - - - - - - - - Procurement - - - - - - - - - Procurement - - - - - - - - - - - Production Product Line - - - - - - - - - Production Product Line - - - - - - - - - - - Production Product Line - - - - - - - - - Production Product Line - - - - - - - - - - - Stock Move - - - - - - - - - Stock Move - - - - - - - - - - - - Stock Move - - - - - - - - - Stock Move - - - - - - - - + + + + Production Manager + + + + + addons + + + + addons + + + + addons + + + + addons + + + + addons + + + + addons + + + + addons + + + + addons + + + + addons + + + + addons + + + + addons + + + + addons + + + + addons + + + + + mrp_bom group_production_manager + + + + + + + + + + mrp_bom base.group_employee + + + + + + + + + + mrp_bom_revision base.group_employee + + + + + + + + + + mrp_bom_revision group_production_manager + + + + + + + + + + mrp_procurement base.group_employee + + + + + + + + + + mrp_procurement group_production_manager + + + + + + + + + + mrp_production base.group_employee + + + + + + + + + + mrp_production group_production_manager + + + + + + + + + + mrp_production_product_line group_production_manager + + + + + + + + + + mrp_production_product_line base.group_employee + + + + + + + + + + mrp_production_workcenter_line base.group_employee + + + + + + + + + + mrp_production_workcenter_line group_production_manager + + + + + + + + + + mrp_property base.group_employee + + + + + + + + + + mrp_property group_production_manager + + + + + + + + + + mrp_property_group base.group_employee + + + + + + + + + + mrp_property_group group_production_manager + + + + + + + + + + mrp_routing group_production_manager + + + + + + + + + + mrp_routing base.group_employee + + + + + + + + + + mrp_routing_workcenter group_production_manager + + + + + + + + + + mrp_routing_workcenter base.group_employee + + + + + + + + + + mrp_workcenter base.group_employee + + + + + + + + + + mrp_workcenter group_production_manager + + + + + + + + + + stock_move group_production_manager + + + + + + + + + + stock_move base.group_employee + + + + + + + + + + stock_warehouse_orderpoint base.group_employee + + + + + + + + + + stock_warehouse_orderpoint group_production_manager + + + + + + + + + \ No newline at end of file diff --git a/addons/sale/sale_security.xml b/addons/sale/sale_security.xml index 3c75e6b7bb7..fceaae0cf23 100644 --- a/addons/sale/sale_security.xml +++ b/addons/sale/sale_security.xml @@ -5,6 +5,7 @@ Sale Manager + Salesman From b2e0ec1ac63e1b74de3de96dd4a2cebe7c0ba886 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Aubort Date: Mon, 18 Aug 2008 17:17:06 +0200 Subject: [PATCH 3/9] hr_contract security bzr revid: jean-baptiste.aubort@camptocamp.com-20080818151706-2c3a73gwpvh49zjy --- addons/hr_contract/hr_contract_security.xml | 148 ++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 addons/hr_contract/hr_contract_security.xml diff --git a/addons/hr_contract/hr_contract_security.xml b/addons/hr_contract/hr_contract_security.xml new file mode 100644 index 00000000000..39d7c5b0534 --- /dev/null +++ b/addons/hr_contract/hr_contract_security.xml @@ -0,0 +1,148 @@ + + + + + + hr_contract base.group_employee + + + + + + + + + + hr_contract group_hr_manager + + + + + + + + + + hr_contract_wage_type group_hr_manager + + + + + + + + + + hr_contract_wage_type base.group_employee + + + + + + + + + + hr_contract_wage_type_period group_hr_manager + + + + + + + + + + hr_contract_wage_type_period base.group_employee + + + + + + + + + + hr_employee_marital_status group_hr_manager + + + + + + + + + + hr_employee_marital_status base.group_employee + + + + + + + + + + hr_expense_expense base.group_employee + + + + + + + + + + hr_expense_expense group_hr_manager + + + + + + + + + + hr_timesheet_invoice_factor group_hr_manager + + + + + + + + + + hr_timesheet_invoice_factor base.group_employee + + + + + + + + + + hr_timesheet_sheet_sheet base.group_employee + + + + + + + + + + hr_timesheet_sheet_sheet group_hr_manager + + + + + + + + + + \ No newline at end of file From d99d7ce55651b57e23fef05e3d590529e71a7dfa Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Aubort Date: Tue, 19 Aug 2008 10:52:51 +0200 Subject: [PATCH 4/9] * security on: * account project * project * product bzr revid: jean-baptiste.aubort@camptocamp.com-20080819085251-zn548e6936uexnqo --- addons/account/project/project_security.xml | 85 +++++---- addons/product/product_security.xml | 109 ++++++++++- addons/project/project_security.xml | 198 +++++++++++--------- 3 files changed, 266 insertions(+), 126 deletions(-) diff --git a/addons/account/project/project_security.xml b/addons/account/project/project_security.xml index 60ec2ffb93c..187ace90ca0 100644 --- a/addons/account/project/project_security.xml +++ b/addons/account/project/project_security.xml @@ -4,28 +4,38 @@ - + addons - - - addons - - - - addons - - - + + addons + + + + + + + + + + account_analytic_account account.group_account_user + + + + + + + + account_analytic_account base.group_employee - + @@ -33,29 +43,9 @@ - - account_analytic_account account.group_account_user - - - - - - - - - - account_analytic_journal account.group_account_user - - - - - - - - account_analytic_journal base.group_employee - + @@ -63,6 +53,35 @@ + + account_analytic_journal account.group_account_user + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/addons/product/product_security.xml b/addons/product/product_security.xml index caa51bf3219..12a2e8fbc7e 100644 --- a/addons/product/product_security.xml +++ b/addons/product/product_security.xml @@ -1,10 +1,115 @@ - + Product Manager - + + + + product_pricelist base.group_employee + + + + + + + + + + product_pricelist group_product_manager + + + + + + + + + + product_pricelist_item base.group_employee + + + + + + + + + + product_pricelist_item group_product_manager + + + + + + + + + + product_pricelist_version group_product_manager + + + + + + + + + + product_pricelist_version base.group_employee + + + + + + + + + + product_product base.group_employee + + + + + + + + + + product_product group_product_manager + + + + + + + + + + product_template base.group_employee + + + + + + + + + + product_template group_product_manager + + + + + + + + \ No newline at end of file diff --git a/addons/project/project_security.xml b/addons/project/project_security.xml index ca8f496c27c..003b475da03 100644 --- a/addons/project/project_security.xml +++ b/addons/project/project_security.xml @@ -1,94 +1,110 @@ - - - - Project Manager - - - - Project Member - - - - - Project - - - - - - - - - Project - - - - - - - - - - - Project Task - - - - - - - - - Project Task - - - - - - - - - - Project Task - - - - - - - - - - - Project Task Work - - - - - - - - - Project Task Work - - - - - - - - - - Project Task Work - - - - - - - - - + + + + Project Manager + + + + + addons + + + + addons + + + + addons + + + + + project_project base.group_employee + + + + + + + + + + project_project group_project_manager + + + + + + + + + + project_task base.group_employee + + + + + + + + + + project_task group_project_manager + + + + + + + + + + project_task account.group_project_member + + + + + + + + + + project_task_work base.group_employee + + + + + + + + + + project_task_work group_project_manager + + + + + + + + + + project_task_work account.group_project_member + + + + + + + + + \ No newline at end of file From eb0ef90bfafeaf8e4118962862152c19920082ae Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Aubort Date: Thu, 21 Aug 2008 14:34:38 +0200 Subject: [PATCH 5/9] Normalize and debug rights bzr revid: jean-baptiste.aubort@camptocamp.com-20080821123438-aedj9trbrzbif8tn --- addons/account/account_security.xml | 137 +++++--- addons/account/project/project_security.xml | 54 +--- addons/board/board_security.xml | 30 +- addons/crm/crm_security.xml | 67 ++-- addons/hr/hr_security.xml | 58 ++-- addons/hr_contract/hr_contract_security.xml | 48 +-- addons/mrp/mrp_security.xml | 117 +++---- addons/product/product_security.xml | 40 +-- addons/project/project_security.xml | 26 +- addons/purchase/purchase_security.xml | 191 ++++++----- addons/sale/sale_security.xml | 342 ++++++++++---------- 11 files changed, 533 insertions(+), 577 deletions(-) diff --git a/addons/account/account_security.xml b/addons/account/account_security.xml index 91ee0858bcd..2ccbdf6352d 100644 --- a/addons/account/account_security.xml +++ b/addons/account/account_security.xml @@ -1,9 +1,4 @@ - - - - + Financial Invoice @@ -27,9 +22,98 @@ Account Payment - + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + account_account base.group_employee @@ -40,7 +124,6 @@ - account_account_type base.group_employee @@ -50,7 +133,6 @@ - account_analytic_account base.group_employee @@ -60,7 +142,6 @@ - account_analytic_journal base.group_employee @@ -70,7 +151,6 @@ - account_analytic_line base.group_employee @@ -80,7 +160,6 @@ - account_bank_statement group_account_manager @@ -90,7 +169,6 @@ - account_bank_statement_line group_account_manager @@ -100,7 +178,6 @@ - account_bank_statement_reconcile group_account_manager @@ -110,7 +187,6 @@ - account_bank_statement_reconcile_line group_account_manager @@ -120,7 +196,6 @@ - account_fiscalyear base.group_employee @@ -130,7 +205,6 @@ - account_invoice group_sale_manager @@ -140,7 +214,6 @@ - account_invoice_line group_sale_manager @@ -150,7 +223,6 @@ - account_invoice_tax group_sale_manager @@ -160,7 +232,6 @@ - account_invoice group_project_member @@ -170,7 +241,6 @@ - account_invoice_line group_project_member @@ -180,7 +250,6 @@ - account_invoice_tax group_project_member @@ -190,7 +259,6 @@ - account_journal base.group_employee @@ -200,7 +268,6 @@ - account_journal_column base.group_employee @@ -210,7 +277,6 @@ - account_journal_period base.group_employee @@ -220,7 +286,6 @@ - account_journal_view base.group_employee @@ -230,7 +295,6 @@ - account_model base.group_erp_manager @@ -240,7 +304,6 @@ - account_model_line base.group_erp_manager @@ -250,7 +313,6 @@ - account_move group_sale_manager @@ -260,7 +322,6 @@ - account_move_line group_sale_manager @@ -270,7 +331,6 @@ - account_move_reconcile group_sale_manager @@ -280,7 +340,6 @@ - account_payment_term group_account_payment @@ -290,7 +349,6 @@ - account_payment_term_line group_account_payment @@ -300,7 +358,6 @@ - account_payment_term base.group_employee @@ -310,7 +367,6 @@ - account_payment_term_line base.group_employee @@ -320,7 +376,6 @@ - account_period base.group_employee @@ -330,7 +385,6 @@ - account_subscription base.group_erp_manager @@ -340,7 +394,6 @@ - account_subscription_line base.group_erp_manager @@ -350,7 +403,6 @@ - account_tax base.group_employee @@ -360,7 +412,6 @@ - account_tax_code base.group_employee @@ -370,6 +421,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/addons/account/project/project_security.xml b/addons/account/project/project_security.xml index 187ace90ca0..c93f865eda6 100644 --- a/addons/account/project/project_security.xml +++ b/addons/account/project/project_security.xml @@ -1,27 +1,16 @@ - - - - - - addons - + + addons - - - - - - - - - + + addons + account_analytic_account account.group_account_user @@ -32,7 +21,6 @@ - account_analytic_account base.group_employee @@ -42,7 +30,6 @@ - account_analytic_journal base.group_employee @@ -52,7 +39,6 @@ - account_analytic_journal account.group_account_user @@ -62,26 +48,4 @@ - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/addons/board/board_security.xml b/addons/board/board_security.xml index 9bd2aeccd4e..b00edc30b22 100644 --- a/addons/board/board_security.xml +++ b/addons/board/board_security.xml @@ -1,9 +1,4 @@ - - - - + Board User @@ -13,7 +8,19 @@ + + addons + + + addons + + + addons + + board_board group_board @@ -24,7 +31,6 @@ - board_board group_board_manager @@ -34,7 +40,6 @@ - board_note group_board @@ -44,7 +49,6 @@ - board_note group_board_manager @@ -54,7 +58,6 @@ - board_note_type group_board @@ -64,7 +67,6 @@ - board_note_type group_board_manager @@ -74,6 +76,4 @@ - - - + \ No newline at end of file diff --git a/addons/crm/crm_security.xml b/addons/crm/crm_security.xml index 5442d127fca..e1c36326595 100644 --- a/addons/crm/crm_security.xml +++ b/addons/crm/crm_security.xml @@ -1,9 +1,4 @@ - - - - + Customer Executive - Manager @@ -15,28 +10,23 @@ - + addons - - + addons - - + addons - - + addons - - + addons - crm_case group_crm_user @@ -47,27 +37,24 @@ - - - crm_case group_employee + + crm_case base.group_employee - + - - - crm_case_log group_employee + + crm_case_log base.group_employee - + - crm_case_log group_crm_user @@ -77,7 +64,6 @@ - crm_case_rule group_crm_manager @@ -87,17 +73,15 @@ - - - crm_case_rule group_employee + + crm_case_rule base.group_employee - + - crm_case_section group_crm_manager @@ -107,27 +91,24 @@ - - - crm_case_section group_employee + + crm_case_section base.group_employee - + - - - crm_segmentation group_employee + + crm_segmentation base.group_employee - + - crm_segmentation group_crm_manager @@ -137,6 +118,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/addons/hr/hr_security.xml b/addons/hr/hr_security.xml index b90f2ef3b43..81809256ff0 100644 --- a/addons/hr/hr_security.xml +++ b/addons/hr/hr_security.xml @@ -1,15 +1,40 @@ - - - - + HR Manager + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + hr_action_reason group_hr_manager @@ -20,7 +45,6 @@ - hr_action_reason base.group_employee @@ -30,7 +54,6 @@ - hr_attendance base.group_employee @@ -40,7 +63,6 @@ - hr_department group_hr_manager @@ -50,7 +72,6 @@ - hr_employee group_hr_manager @@ -60,7 +81,6 @@ - hr_employee base.group_employee @@ -70,7 +90,6 @@ - hr_employee_category group_hr_manager @@ -80,7 +99,6 @@ - hr_employee_category base.group_employee @@ -90,7 +108,6 @@ - hr_holidays base.group_employee @@ -100,7 +117,6 @@ - hr_holidays group_hr_manager @@ -110,7 +126,6 @@ - hr_holidays_status base.group_employee @@ -120,7 +135,6 @@ - hr_holidays_status group_hr_manager @@ -130,7 +144,6 @@ - hr_timesheet group_hr_manager @@ -140,7 +153,6 @@ - hr_timesheet base.group_employee @@ -150,7 +162,6 @@ - hr_timesheet_group group_hr_manager @@ -160,7 +171,6 @@ - hr_timesheet_group base.group_employee @@ -170,6 +180,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/addons/hr_contract/hr_contract_security.xml b/addons/hr_contract/hr_contract_security.xml index 39d7c5b0534..1a2d1a551bb 100644 --- a/addons/hr_contract/hr_contract_security.xml +++ b/addons/hr_contract/hr_contract_security.xml @@ -1,8 +1,31 @@ - - - + + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + hr_contract base.group_employee @@ -13,7 +36,6 @@ - hr_contract group_hr_manager @@ -23,7 +45,6 @@ - hr_contract_wage_type group_hr_manager @@ -33,7 +54,6 @@ - hr_contract_wage_type base.group_employee @@ -43,7 +63,6 @@ - hr_contract_wage_type_period group_hr_manager @@ -53,7 +72,6 @@ - hr_contract_wage_type_period base.group_employee @@ -63,7 +81,6 @@ - hr_employee_marital_status group_hr_manager @@ -73,7 +90,6 @@ - hr_employee_marital_status base.group_employee @@ -83,7 +99,6 @@ - hr_expense_expense base.group_employee @@ -93,7 +108,6 @@ - hr_expense_expense group_hr_manager @@ -103,7 +117,6 @@ - hr_timesheet_invoice_factor group_hr_manager @@ -113,7 +126,6 @@ - hr_timesheet_invoice_factor base.group_employee @@ -123,7 +135,6 @@ - hr_timesheet_sheet_sheet base.group_employee @@ -133,7 +144,6 @@ - hr_timesheet_sheet_sheet group_hr_manager @@ -143,6 +153,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/addons/mrp/mrp_security.xml b/addons/mrp/mrp_security.xml index ce64f427ce3..53de5508114 100644 --- a/addons/mrp/mrp_security.xml +++ b/addons/mrp/mrp_security.xml @@ -1,70 +1,52 @@ - - - - + Production Manager - + addons - - - addons - - - - addons - - - - addons - - - - addons - - - - addons - - - - addons - - - - addons - - - - addons - - - - addons - - - - addons - - addons - - + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + addons - mrp_bom group_production_manager @@ -75,7 +57,6 @@ - mrp_bom base.group_employee @@ -85,7 +66,6 @@ - mrp_bom_revision base.group_employee @@ -95,7 +75,6 @@ - mrp_bom_revision group_production_manager @@ -105,7 +84,6 @@ - mrp_procurement base.group_employee @@ -115,7 +93,6 @@ - mrp_procurement group_production_manager @@ -125,7 +102,6 @@ - mrp_production base.group_employee @@ -135,7 +111,6 @@ - mrp_production group_production_manager @@ -145,7 +120,6 @@ - mrp_production_product_line group_production_manager @@ -155,7 +129,6 @@ - mrp_production_product_line base.group_employee @@ -165,7 +138,6 @@ - mrp_production_workcenter_line base.group_employee @@ -175,7 +147,6 @@ - mrp_production_workcenter_line group_production_manager @@ -185,7 +156,6 @@ - mrp_property base.group_employee @@ -195,7 +165,6 @@ - mrp_property group_production_manager @@ -205,7 +174,6 @@ - mrp_property_group base.group_employee @@ -215,7 +183,6 @@ - mrp_property_group group_production_manager @@ -225,7 +192,6 @@ - mrp_routing group_production_manager @@ -235,7 +201,6 @@ - mrp_routing base.group_employee @@ -245,7 +210,6 @@ - mrp_routing_workcenter group_production_manager @@ -255,7 +219,6 @@ - mrp_routing_workcenter base.group_employee @@ -265,7 +228,6 @@ - mrp_workcenter base.group_employee @@ -275,7 +237,6 @@ - mrp_workcenter group_production_manager @@ -285,7 +246,6 @@ - stock_move group_production_manager @@ -295,7 +255,6 @@ - stock_move base.group_employee @@ -305,7 +264,6 @@ - stock_warehouse_orderpoint base.group_employee @@ -315,7 +273,6 @@ - stock_warehouse_orderpoint group_production_manager @@ -325,6 +282,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/addons/product/product_security.xml b/addons/product/product_security.xml index 12a2e8fbc7e..81d871d0eb0 100644 --- a/addons/product/product_security.xml +++ b/addons/product/product_security.xml @@ -1,15 +1,28 @@ - - - - + Product Manager + + addons + + + addons + + + addons + + + addons + + + addons + + product_pricelist base.group_employee @@ -20,7 +33,6 @@ - product_pricelist group_product_manager @@ -30,7 +42,6 @@ - product_pricelist_item base.group_employee @@ -40,7 +51,6 @@ - product_pricelist_item group_product_manager @@ -50,7 +60,6 @@ - product_pricelist_version group_product_manager @@ -60,7 +69,6 @@ - product_pricelist_version base.group_employee @@ -70,7 +78,6 @@ - product_product base.group_employee @@ -80,7 +87,6 @@ - product_product group_product_manager @@ -90,7 +96,6 @@ - product_template base.group_employee @@ -100,7 +105,6 @@ - product_template group_product_manager @@ -110,6 +114,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/addons/project/project_security.xml b/addons/project/project_security.xml index 003b475da03..39d9a58db55 100644 --- a/addons/project/project_security.xml +++ b/addons/project/project_security.xml @@ -1,30 +1,23 @@ - - - - + Project Manager + addons - addons - addons - project_project base.group_employee @@ -35,7 +28,6 @@ - project_project group_project_manager @@ -45,7 +37,6 @@ - project_task base.group_employee @@ -55,7 +46,6 @@ - project_task group_project_manager @@ -65,7 +55,6 @@ - project_task account.group_project_member @@ -75,7 +64,6 @@ - project_task_work base.group_employee @@ -85,7 +73,6 @@ - project_task_work group_project_manager @@ -95,7 +82,6 @@ - project_task_work account.group_project_member @@ -105,6 +91,4 @@ - - - \ No newline at end of file + \ No newline at end of file diff --git a/addons/purchase/purchase_security.xml b/addons/purchase/purchase_security.xml index 7dfcaff8e00..2eb8d2efc90 100644 --- a/addons/purchase/purchase_security.xml +++ b/addons/purchase/purchase_security.xml @@ -1,89 +1,102 @@ - - - - - - Purchase Manager - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Purchase Order - - - - - - - - - Purchase Order - - - - - - - - - - - Purchase Order Line - - - - - - - - - Purchase Order Line - - - - - - - - - \ No newline at end of file + + + Purchase Manager + + + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + + account_invoice group_purchase_manager + + + + + + + + + account_invoice_line group_purchase_manager + + + + + + + + + account_invoice_tax group_purchase_manager + + + + + + + + + purchase_order base.group_employee + + + + + + + + + purchase_order group_purchase_manager + + + + + + + + + purchase_order_line group_purchase_manager + + + + + + + + + purchase_order_line base.group_employee + + + + + + + + + stock_move group_purchase_manager + + + + + + + + \ No newline at end of file diff --git a/addons/sale/sale_security.xml b/addons/sale/sale_security.xml index fceaae0cf23..3dfb696ac10 100644 --- a/addons/sale/sale_security.xml +++ b/addons/sale/sale_security.xml @@ -1,174 +1,168 @@ - - - - - - Sale Manager - - - - Salesman - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Mrp procurement - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Mrp procurement - - - - - - - - - - - Sale Order - - - - - - - - - Sale Order - - - - - - - - - - Sale Order - - - - - - - - - - - Sale Order Line - - - - - - - - - Sale Order Line - - - - - - - - - - Sale Order Line - - - - - - - - - - \ No newline at end of file + + + Salesman + + + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + addons + + + + account_invoice group_sale_salesman + + + + + + + + + account_invoice account.group_sale_manager + + + + + + + + + account_invoice_line group_sale_salesman + + + + + + + + + account_invoice_line account.group_sale_manager + + + + + + + + + account_invoice_tax account.group_sale_manager + + + + + + + + + account_invoice_tax group_sale_salesman + + + + + + + + + mrp_procurement account.group_sale_manager + + + + + + + + + mrp_procurement group_sale_salesman + + + + + + + + + sale_order account.group_sale_manager + + + + + + + + + sale_order base.group_employee + + + + + + + + + sale_order_line group_sale_salesman + + + + + + + + + sale_order_line account.group_sale_manager + + + + + + + + + sale_order_line base.group_employee + + + + + + + + + stock_move account.group_sale_manager + + + + + + + + + stock_move group_sale_salesman + + + + + + + + \ No newline at end of file From 43122ed70852d9f28c69db6296e36dd2dd1b4e92 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Aubort Date: Fri, 29 Aug 2008 10:07:27 +0200 Subject: [PATCH 6/9] * Security files to CSV * Some bugfixes bzr revid: jean-baptiste.aubort@camptocamp.com-20080829080727-z8x95pg4ai5byru4 --- addons/account/__terp__.py | 2 - addons/account/account_security.xml | 399 ------------------ addons/account/project/project_security.xml | 51 --- addons/account_analytic_analysis/__terp__.py | 1 + .../ir.model.access.csv | 3 + addons/account_payment/__terp__.py | 12 +- addons/account_payment/ir.model.access.csv | 5 + addons/account_report/__terp__.py | 6 +- addons/account_report/ir.model.access.csv | 2 + addons/board/board_security.xml | 12 - addons/board_account/board_account_demo.xml | 4 +- addons/crm/crm_demo.xml | 10 +- addons/crm/crm_security.xml | 112 ----- .../tinyerp-mailgate/tinyerp-mailgate.py | 2 +- addons/delivery/__terp__.py | 6 +- addons/delivery/ir.model.access.csv | 4 + addons/hr/__terp__.py | 1 - addons/hr/hr_demo.xml | 2 +- addons/hr/hr_security.xml | 183 -------- addons/hr_contract/__terp__.py | 3 +- addons/hr_contract/hr_contract_security.xml | 155 +------ addons/hr_contract/ir.model.access.csv | 9 + addons/hr_expense/__terp__.py | 8 +- addons/hr_expense/ir.model.access.csv | 3 + addons/hr_timesheet/__terp__.py | 7 +- addons/hr_timesheet/ir.model.access.csv | 2 + .../hr_timesheet_sheet_demo.xml | 2 +- addons/mrp/mrp_security.xml | 280 ------------ addons/mrp/scripts/scheduler.py | 4 +- addons/processus/__terp__.py | 1 - addons/processus/ir.model.access.csv | 8 +- addons/product/product_security.xml | 112 ----- addons/project/project_demo.xml | 8 +- addons/project/project_security.xml | 89 ---- addons/purchase/purchase_security.xml | 97 ----- addons/report_account/__terp__.py | 5 +- addons/report_account/ir.model.access.csv | 2 + addons/report_analytic/__terp__.py | 5 +- addons/report_analytic/ir.model.access.csv | 2 + addons/report_analytic_line/__terp__.py | 1 + .../report_analytic_line/ir.model.access.csv | 2 + addons/report_crm/__terp__.py | 5 +- addons/report_crm/ir.model.access.csv | 3 + addons/report_intrastat/__terp__.py | 5 +- addons/report_intrastat/ir.model.access.csv | 3 + addons/report_mrp/__terp__.py | 5 +- addons/report_mrp/ir.model.access.csv | 3 + addons/report_project/__terp__.py | 5 +- addons/report_project/ir.model.access.csv | 3 + addons/report_purchase/__terp__.py | 5 +- addons/report_purchase/ir.model.access.csv | 3 + addons/report_sale/__terp__.py | 6 +- addons/report_sale/ir.model.access.csv | 3 + addons/report_stock/__terp__.py | 5 +- addons/report_stock/ir.model.access.csv | 2 + addons/report_task/__terp__.py | 1 + addons/report_task/ir.model.access.csv | 2 + addons/sale/__terp__.py | 1 - addons/sale/sale_security.xml | 36 +- addons/scrum/__terp__.py | 7 +- addons/scrum/ir.model.access.csv | 5 + addons/scrum/scrum_demo.xml | 2 +- addons/stock/__terp__.py | 12 +- addons/stock/ir.model.access.csv | 12 + addons/subscription/__terp__.py | 4 +- addons/subscription/ir.model.access.csv | 5 + 66 files changed, 201 insertions(+), 1564 deletions(-) delete mode 100644 addons/account/project/project_security.xml create mode 100644 addons/account_analytic_analysis/ir.model.access.csv create mode 100644 addons/account_payment/ir.model.access.csv create mode 100644 addons/account_report/ir.model.access.csv create mode 100644 addons/delivery/ir.model.access.csv delete mode 100644 addons/hr/hr_security.xml create mode 100644 addons/hr_contract/ir.model.access.csv create mode 100644 addons/hr_expense/ir.model.access.csv create mode 100644 addons/hr_timesheet/ir.model.access.csv create mode 100644 addons/report_account/ir.model.access.csv create mode 100644 addons/report_analytic/ir.model.access.csv create mode 100644 addons/report_analytic_line/ir.model.access.csv create mode 100644 addons/report_crm/ir.model.access.csv create mode 100644 addons/report_intrastat/ir.model.access.csv create mode 100644 addons/report_mrp/ir.model.access.csv create mode 100644 addons/report_project/ir.model.access.csv create mode 100644 addons/report_purchase/ir.model.access.csv create mode 100644 addons/report_sale/ir.model.access.csv create mode 100644 addons/report_stock/ir.model.access.csv create mode 100644 addons/report_task/ir.model.access.csv create mode 100644 addons/scrum/ir.model.access.csv create mode 100644 addons/stock/ir.model.access.csv create mode 100644 addons/subscription/ir.model.access.csv diff --git a/addons/account/__terp__.py b/addons/account/__terp__.py index 0ca7332075e..51175f1268b 100644 --- a/addons/account/__terp__.py +++ b/addons/account/__terp__.py @@ -66,7 +66,6 @@ "product_data.xml", "product_view.xml", "account_security.xml", - "project/project_security.xml", "account_assert_test.xml", ], "translations" : { @@ -77,4 +76,3 @@ } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: - diff --git a/addons/account/account_security.xml b/addons/account/account_security.xml index 2ccbdf6352d..5fc01afd83d 100644 --- a/addons/account/account_security.xml +++ b/addons/account/account_security.xml @@ -22,403 +22,4 @@ Account Payment - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - - account_account base.group_employee - - - - - - - - - account_account_type base.group_employee - - - - - - - - - account_analytic_account base.group_employee - - - - - - - - - account_analytic_journal base.group_employee - - - - - - - - - account_analytic_line base.group_employee - - - - - - - - - account_bank_statement group_account_manager - - - - - - - - - account_bank_statement_line group_account_manager - - - - - - - - - account_bank_statement_reconcile group_account_manager - - - - - - - - - account_bank_statement_reconcile_line group_account_manager - - - - - - - - - account_fiscalyear base.group_employee - - - - - - - - - account_invoice group_sale_manager - - - - - - - - - account_invoice_line group_sale_manager - - - - - - - - - account_invoice_tax group_sale_manager - - - - - - - - - account_invoice group_project_member - - - - - - - - - account_invoice_line group_project_member - - - - - - - - - account_invoice_tax group_project_member - - - - - - - - - account_journal base.group_employee - - - - - - - - - account_journal_column base.group_employee - - - - - - - - - account_journal_period base.group_employee - - - - - - - - - account_journal_view base.group_employee - - - - - - - - - account_model base.group_erp_manager - - - - - - - - - account_model_line base.group_erp_manager - - - - - - - - - account_move group_sale_manager - - - - - - - - - account_move_line group_sale_manager - - - - - - - - - account_move_reconcile group_sale_manager - - - - - - - - - account_payment_term group_account_payment - - - - - - - - - account_payment_term_line group_account_payment - - - - - - - - - account_payment_term base.group_employee - - - - - - - - - account_payment_term_line base.group_employee - - - - - - - - - account_period base.group_employee - - - - - - - - - account_subscription base.group_erp_manager - - - - - - - - - account_subscription_line base.group_erp_manager - - - - - - - - - account_tax base.group_employee - - - - - - - - - account_tax_code base.group_employee - - - - - - - \ No newline at end of file diff --git a/addons/account/project/project_security.xml b/addons/account/project/project_security.xml deleted file mode 100644 index c93f865eda6..00000000000 --- a/addons/account/project/project_security.xml +++ /dev/null @@ -1,51 +0,0 @@ - - - - - addons - - - addons - - - - account_analytic_account account.group_account_user - - - - - - - - - account_analytic_account base.group_employee - - - - - - - - - account_analytic_journal base.group_employee - - - - - - - - - account_analytic_journal account.group_account_user - - - - - - - - \ No newline at end of file diff --git a/addons/account_analytic_analysis/__terp__.py b/addons/account_analytic_analysis/__terp__.py index bdecb2de23f..6e876cac931 100644 --- a/addons/account_analytic_analysis/__terp__.py +++ b/addons/account_analytic_analysis/__terp__.py @@ -41,6 +41,7 @@ Add menu to show relevant information for each manager.""", "update_xml" : [ "account_analytic_analysis_view.xml", "account_analytic_analysis_menu.xml", + "ir.model.access.csv", ], "demo_xml" : [], "active": False, diff --git a/addons/account_analytic_analysis/ir.model.access.csv b/addons/account_analytic_analysis/ir.model.access.csv new file mode 100644 index 00000000000..044093a93a9 --- /dev/null +++ b/addons/account_analytic_analysis/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_user,user,model_user,base.group_user,1,0,0,0 +access_month,month,model_month,base.group_user,1,0,0,0 diff --git a/addons/account_payment/__terp__.py b/addons/account_payment/__terp__.py index 93d37888154..45196108416 100644 --- a/addons/account_payment/__terp__.py +++ b/addons/account_payment/__terp__.py @@ -39,9 +39,15 @@ * a basic mechanism to easily plug various automated payment. """, "demo_xml": [], - "update_xml": ["payment_wizard.xml", "payment_view.xml", - "payment_workflow.xml", "payment_sequence.xml", - "account_invoice_view.xml", "payment_report.xml"], + "update_xml": [ + "payment_wizard.xml", + "payment_view.xml", + "payment_workflow.xml", + "payment_sequence.xml", + "account_invoice_view.xml", + "payment_report.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/account_payment/ir.model.access.csv b/addons/account_payment/ir.model.access.csv new file mode 100644 index 00000000000..4b578e2d33f --- /dev/null +++ b/addons/account_payment/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_payment_type,payment.type,model_payment_type,base.group_user,1,0,0,0 +access_payment_mode,payment.mode,model_payment_mode,base.group_user,1,0,0,0 +access_payment_order,payment.order,model_payment_order,base.group_user,1,0,0,0 +access_payment_line,payment.line,model_payment_line,base.group_user,1,0,0,0 diff --git a/addons/account_report/__terp__.py b/addons/account_report/__terp__.py index 4bb4b482636..1018b57ae6b 100644 --- a/addons/account_report/__terp__.py +++ b/addons/account_report/__terp__.py @@ -36,7 +36,11 @@ "category" : "Generic Modules/Accounting", "init_xml" : [ ], "demo_xml" : [ ], - "update_xml" : [ "account_view.xml","account_report.xml" ], + "update_xml" : [ + "account_view.xml", + "account_report.xml", + "ir.model.access.csv", + ], # "translations" : { # "fr": "i18n/french_fr.csv" # }, diff --git a/addons/account_report/ir.model.access.csv b/addons/account_report/ir.model.access.csv new file mode 100644 index 00000000000..aeb498cde5a --- /dev/null +++ b/addons/account_report/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_account_report_report,account.report.report,model_account_report_report,base.group_user,1,0,0,0 diff --git a/addons/board/board_security.xml b/addons/board/board_security.xml index b00edc30b22..e7af75ff548 100644 --- a/addons/board/board_security.xml +++ b/addons/board/board_security.xml @@ -7,18 +7,6 @@ Board Manager - - - addons - - - addons - - - addons - diff --git a/addons/board_account/board_account_demo.xml b/addons/board_account/board_account_demo.xml index 931c55f4c12..690a07f633f 100644 --- a/addons/board_account/board_account_demo.xml +++ b/addons/board_account/board_account_demo.xml @@ -13,9 +13,9 @@ 0 - + - \ No newline at end of file + diff --git a/addons/crm/crm_demo.xml b/addons/crm/crm_demo.xml index af02a985690..2fbaf4f0317 100644 --- a/addons/crm/crm_demo.xml +++ b/addons/crm/crm_demo.xml @@ -183,7 +183,7 @@ - + @@ -230,7 +230,7 @@ - + @@ -276,7 +276,7 @@ - + @@ -369,7 +369,7 @@ - + @@ -417,7 +417,7 @@ - + diff --git a/addons/crm/crm_security.xml b/addons/crm/crm_security.xml index e1c36326595..75364d35e53 100644 --- a/addons/crm/crm_security.xml +++ b/addons/crm/crm_security.xml @@ -6,116 +6,4 @@ Customer Executive - User - - - - addons - - - addons - - - addons - - - addons - - - addons - - - - crm_case group_crm_user - - - - - - - - - crm_case base.group_employee - - - - - - - - - crm_case_log base.group_employee - - - - - - - - - crm_case_log group_crm_user - - - - - - - - - crm_case_rule group_crm_manager - - - - - - - - - crm_case_rule base.group_employee - - - - - - - - - crm_case_section group_crm_manager - - - - - - - - - crm_case_section base.group_employee - - - - - - - - - crm_segmentation base.group_employee - - - - - - - - - crm_segmentation group_crm_manager - - - - - - - \ No newline at end of file diff --git a/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py b/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py index 18cf12879c9..49befe8f97f 100644 --- a/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py +++ b/addons/crm/scripts/tinyerp-mailgate/tinyerp-mailgate.py @@ -308,7 +308,7 @@ if __name__ == '__main__': parser.add_option_group(group) parser.add_option("-u", "--user", dest="userid", help="ID of the user in Tiny ERP", default=3, type='int') - parser.add_option("-p", "--password", dest="password", help="Password of the user in Tiny ERP", default='admin') + parser.add_option("-p", "--password", dest="password", help="Password of the user in Tiny ERP", default='root') parser.add_option("-e", "--email", dest="email", help="Email address used in the From field of outgoing messages") parser.add_option("-s", "--section", dest="section", help="ID or code of the case section", default="support") parser.add_option("-m", "--default", dest="default", help="Default eMail in case of any trouble.", default=None) diff --git a/addons/delivery/__terp__.py b/addons/delivery/__terp__.py index 20e7b89f915..54434ea7b28 100644 --- a/addons/delivery/__terp__.py +++ b/addons/delivery/__terp__.py @@ -35,7 +35,11 @@ "depends" : ["sale","purchase", "stock",], "init_xml" : ["delivery_data.xml"], "demo_xml" : ["delivery_demo.xml"], - "update_xml" : ["delivery_view.xml","delivery_wizard.xml"], + "update_xml" : [ + "delivery_view.xml", + "delivery_wizard.xml", + "ir.model.access.csv", + ], "active": False, "installable": True, } diff --git a/addons/delivery/ir.model.access.csv b/addons/delivery/ir.model.access.csv new file mode 100644 index 00000000000..6333814759c --- /dev/null +++ b/addons/delivery/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_delivery_carrier,delivery.carrier,model_delivery_carrier,base.group_user,1,0,0,0 +access_delivery_grid,delivery.grid,model_delivery_grid,base.group_user,1,0,0,0 +access_delivery_grid_line,delivery.grid.line,model_delivery_grid_line,base.group_user,1,0,0,0 diff --git a/addons/hr/__terp__.py b/addons/hr/__terp__.py index 99529fa9232..29a13a55abf 100644 --- a/addons/hr/__terp__.py +++ b/addons/hr/__terp__.py @@ -53,7 +53,6 @@ "hr_report.xml", "hr_wizard.xml", "hr_department_view.xml", - "hr_security.xml", ], "active": False, "installable": True diff --git a/addons/hr/hr_demo.xml b/addons/hr/hr_demo.xml index cfc6b7dd9fa..2e4c6cfc5ae 100644 --- a/addons/hr/hr_demo.xml +++ b/addons/hr/hr_demo.xml @@ -56,7 +56,7 @@ Fabien Pinckaers 45 - + 25 diff --git a/addons/hr/hr_security.xml b/addons/hr/hr_security.xml deleted file mode 100644 index 81809256ff0..00000000000 --- a/addons/hr/hr_security.xml +++ /dev/null @@ -1,183 +0,0 @@ - - - HR Manager - - - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - - hr_action_reason group_hr_manager - - - - - - - - - hr_action_reason base.group_employee - - - - - - - - - hr_attendance base.group_employee - - - - - - - - - hr_department group_hr_manager - - - - - - - - - hr_employee group_hr_manager - - - - - - - - - hr_employee base.group_employee - - - - - - - - - hr_employee_category group_hr_manager - - - - - - - - - hr_employee_category base.group_employee - - - - - - - - - hr_holidays base.group_employee - - - - - - - - - hr_holidays group_hr_manager - - - - - - - - - hr_holidays_status base.group_employee - - - - - - - - - hr_holidays_status group_hr_manager - - - - - - - - - hr_timesheet group_hr_manager - - - - - - - - - hr_timesheet base.group_employee - - - - - - - - - hr_timesheet_group group_hr_manager - - - - - - - - - hr_timesheet_group base.group_employee - - - - - - - - \ No newline at end of file diff --git a/addons/hr_contract/__terp__.py b/addons/hr_contract/__terp__.py index dfc0a485eb0..9087c2252b3 100644 --- a/addons/hr_contract/__terp__.py +++ b/addons/hr_contract/__terp__.py @@ -46,7 +46,8 @@ "demo_xml" : [], "update_xml" : [ "hr_contract_view.xml", - "hr_contract_security.xml" + "hr_contract_security.xml", + "ir.model.access.csv", ], "active": False, "installable": True diff --git a/addons/hr_contract/hr_contract_security.xml b/addons/hr_contract/hr_contract_security.xml index 1a2d1a551bb..a25f8f23a95 100644 --- a/addons/hr_contract/hr_contract_security.xml +++ b/addons/hr_contract/hr_contract_security.xml @@ -1,156 +1,5 @@ - - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - - hr_contract base.group_employee - - - - - - - - - hr_contract group_hr_manager - - - - - - - - - hr_contract_wage_type group_hr_manager - - - - - - - - - hr_contract_wage_type base.group_employee - - - - - - - - - hr_contract_wage_type_period group_hr_manager - - - - - - - - - hr_contract_wage_type_period base.group_employee - - - - - - - - - hr_employee_marital_status group_hr_manager - - - - - - - - - hr_employee_marital_status base.group_employee - - - - - - - - - hr_expense_expense base.group_employee - - - - - - - - - hr_expense_expense group_hr_manager - - - - - - - - - hr_timesheet_invoice_factor group_hr_manager - - - - - - - - - hr_timesheet_invoice_factor base.group_employee - - - - - - - - - hr_timesheet_sheet_sheet base.group_employee - - - - - - - - - hr_timesheet_sheet_sheet group_hr_manager - - - - - - + + HR Manager \ No newline at end of file diff --git a/addons/hr_contract/ir.model.access.csv b/addons/hr_contract/ir.model.access.csv new file mode 100644 index 00000000000..40130e98b21 --- /dev/null +++ b/addons/hr_contract/ir.model.access.csv @@ -0,0 +1,9 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_hr_contract_base.group_user,hr_contract base.group_user,model_hr_contract,base.group_user,1,0,0,0 +access_hr_contract_group_hr_manager,hr_contract group_hr_manager,model_hr_contract,group_hr_manager,1,1,1,1 +access_hr_contract_wage_type_group_hr_manager,hr_contract_wage_type group_hr_manager,model_hr_contract_wage_type,group_hr_manager,1,1,1,1 +access_hr_contract_wage_type_base.group_user,hr_contract_wage_type base.group_user,model_hr_contract_wage_type,base.group_user,1,0,0,0 +access_hr_contract_wage_type_period_group_hr_manager,hr_contract_wage_type_period group_hr_manager,model_hr_contract_wage_type_period,group_hr_manager,1,1,1,1 +access_hr_contract_wage_type_period_base.group_user,hr_contract_wage_type_period base.group_user,model_hr_contract_wage_type_period,base.group_user,1,0,0,0 +access_hr_employee_marital_status_group_hr_manager,hr_employee_marital_status group_hr_manager,model_hr_employee_marital_status,group_hr_manager,1,1,1,1 +access_hr_employee_marital_status_base.group_user,hr_employee_marital_status base.group_user,model_hr_employee_marital_status,base.group_user,1,0,0,0 diff --git a/addons/hr_expense/__terp__.py b/addons/hr_expense/__terp__.py index c05d0204fd8..5c021248736 100644 --- a/addons/hr_expense/__terp__.py +++ b/addons/hr_expense/__terp__.py @@ -49,7 +49,13 @@ """, "init_xml" : [], "demo_xml" : ["hr_expense_demo.xml", "hr.expense.expense.csv"], - "update_xml" : ["hr_expense_sequence.xml", "hr_expense_workflow.xml", "hr_expense_view.xml", "hr_expense_report.xml",], + "update_xml" : [ + "hr_expense_sequence.xml", + "hr_expense_workflow.xml", + "hr_expense_view.xml", + "hr_expense_report.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/hr_expense/ir.model.access.csv b/addons/hr_expense/ir.model.access.csv new file mode 100644 index 00000000000..6539e7ac526 --- /dev/null +++ b/addons/hr_expense/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_hr_expense_expense,hr.expense.expense,model_hr_expense_expense,base.group_user,1,0,0,0 +access_hr_expense_line,hr.expense.line,model_hr_expense_line,base.group_user,1,0,0,0 diff --git a/addons/hr_timesheet/__terp__.py b/addons/hr_timesheet/__terp__.py index 2595ba25cab..88ba0f4e983 100644 --- a/addons/hr_timesheet/__terp__.py +++ b/addons/hr_timesheet/__terp__.py @@ -46,7 +46,12 @@ to set up a management by affair. "depends" : ["account", "hr", "base",], "init_xml" : ["hr_timesheet_data.xml"], "demo_xml" : ["hr_timesheet_demo.xml",], - "update_xml" : ["hr_timesheet_view.xml", "hr_timesheet_report.xml","hr_timesheet_wizard.xml"], + "update_xml" : [ + "hr_timesheet_view.xml", + "hr_timesheet_report.xml", + "hr_timesheet_wizard.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/hr_timesheet/ir.model.access.csv b/addons/hr_timesheet/ir.model.access.csv new file mode 100644 index 00000000000..e3e5456432e --- /dev/null +++ b/addons/hr_timesheet/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_hr_analytic_timesheet,hr.analytic.timesheet,model_hr_analytic_timesheet,base.group_user,1,0,0,0 diff --git a/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml b/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml index 69dd34fdfb9..6d68778ad80 100644 --- a/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml +++ b/addons/hr_timesheet_sheet/hr_timesheet_sheet_demo.xml @@ -15,7 +15,7 @@ Sheet 1 - + - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - - mrp_bom group_production_manager - - - - - - - - - mrp_bom base.group_employee - - - - - - - - - mrp_bom_revision base.group_employee - - - - - - - - - mrp_bom_revision group_production_manager - - - - - - - - - mrp_procurement base.group_employee - - - - - - - - - mrp_procurement group_production_manager - - - - - - - - - mrp_production base.group_employee - - - - - - - - - mrp_production group_production_manager - - - - - - - - - mrp_production_product_line group_production_manager - - - - - - - - - mrp_production_product_line base.group_employee - - - - - - - - - mrp_production_workcenter_line base.group_employee - - - - - - - - - mrp_production_workcenter_line group_production_manager - - - - - - - - - mrp_property base.group_employee - - - - - - - - - mrp_property group_production_manager - - - - - - - - - mrp_property_group base.group_employee - - - - - - - - - mrp_property_group group_production_manager - - - - - - - - - mrp_routing group_production_manager - - - - - - - - - mrp_routing base.group_employee - - - - - - - - - mrp_routing_workcenter group_production_manager - - - - - - - - - mrp_routing_workcenter base.group_employee - - - - - - - - - mrp_workcenter base.group_employee - - - - - - - - - mrp_workcenter group_production_manager - - - - - - - - - stock_move group_production_manager - - - - - - - - - stock_move base.group_employee - - - - - - - - - stock_warehouse_orderpoint base.group_employee - - - - - - - - - stock_warehouse_orderpoint group_production_manager - - - - - - - \ No newline at end of file diff --git a/addons/mrp/scripts/scheduler.py b/addons/mrp/scripts/scheduler.py index 96b009c57ab..6372efc7ad6 100644 --- a/addons/mrp/scripts/scheduler.py +++ b/addons/mrp/scripts/scheduler.py @@ -31,8 +31,8 @@ import xmlrpclib sock = xmlrpclib.ServerProxy('http://localhost:8069/xmlrpc/wizard') -wiz_id = sock.create('trunk', 3, 'admin', 'mrp.procurement.compute.all') -sock.execute('trunk', 3, 'admin', wiz_id, {'form': {'po_cycle': 1.0, 'po_lead': 1.0, 'user_id': 3, 'schedule_cycle': 1.0, 'picking_lead': 1.0, 'security_lead': 50.0, 'automatic': False}, 'ids': [], 'report_type': 'pdf', 'model': 'ir.ui.menu', 'id': False}, 'compute', {}) +wiz_id = sock.create('trunk', 1, 'root', 'mrp.procurement.compute.all') +sock.execute('trunk', 1, 'root', wiz_id, {'form': {'po_cycle': 1.0, 'po_lead': 1.0, 'user_id': 3, 'schedule_cycle': 1.0, 'picking_lead': 1.0, 'security_lead': 50.0, 'automatic': False}, 'ids': [], 'report_type': 'pdf', 'model': 'ir.ui.menu', 'id': False}, 'compute', {}) # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/processus/__terp__.py b/addons/processus/__terp__.py index ab4013cab86..508a8dea3bc 100644 --- a/addons/processus/__terp__.py +++ b/addons/processus/__terp__.py @@ -13,7 +13,6 @@ This module allows you to manage your processus for the end-users. "demo_xml" : [], "update_xml" : [ 'processus_view.xml', - 'ir.model.access.csv', "processus_report.xml"], "active": False, "installable": True diff --git a/addons/processus/ir.model.access.csv b/addons/processus/ir.model.access.csv index a7950953c9a..e092c3e2f65 100644 --- a/addons/processus/ir.model.access.csv +++ b/addons/processus/ir.model.access.csv @@ -1,5 +1,5 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_processus,processus.processus,model_processus_processus,,1,0,0,0 -access_node,processus.node,model_processus_node,,1,0,0,0 -access_transition,processus.transition,model_processus_transition,,1,0,0,0 -access_action,processus.transition.action,model_processus_transition_action,,1,0,0,0 +access_processus_processus,processus.processus,model_processus_processus,base.group_user,1,0,0,0 +access_processus_node,processus.node,model_processus_node,base.group_user,1,0,0,0 +access_processus_transition,processus.transition,model_processus_transition,base.group_user,1,0,0,0 +access_processus_transition_action,processus.transition.action,model_processus_transition_action,base.group_user,1,0,0,0 \ No newline at end of file diff --git a/addons/product/product_security.xml b/addons/product/product_security.xml index 81d871d0eb0..cffce5169fd 100644 --- a/addons/product/product_security.xml +++ b/addons/product/product_security.xml @@ -2,116 +2,4 @@ Product Manager - - - - addons - - - addons - - - addons - - - addons - - - addons - - - - product_pricelist base.group_employee - - - - - - - - - product_pricelist group_product_manager - - - - - - - - - product_pricelist_item base.group_employee - - - - - - - - - product_pricelist_item group_product_manager - - - - - - - - - product_pricelist_version group_product_manager - - - - - - - - - product_pricelist_version base.group_employee - - - - - - - - - product_product base.group_employee - - - - - - - - - product_product group_product_manager - - - - - - - - - product_template base.group_employee - - - - - - - - - product_template group_product_manager - - - - - - - \ No newline at end of file diff --git a/addons/project/project_demo.xml b/addons/project/project_demo.xml index 3cf4fc6b78b..9f87b383cc4 100644 --- a/addons/project/project_demo.xml +++ b/addons/project/project_demo.xml @@ -40,7 +40,7 @@ 38.0 - + BoM, After sales returns, interventions. Tracability. Specific adaptation to MRP @@ -106,7 +106,7 @@ 29 24.0 - + MRP; functionnal layer done @@ -165,7 +165,7 @@ 40 32.0 - + In house trainings 2007-06-06 @@ -174,7 +174,7 @@ 50 1 24.0 - + Validation + latest modifications. diff --git a/addons/project/project_security.xml b/addons/project/project_security.xml index 39d9a58db55..44f5c17ea09 100644 --- a/addons/project/project_security.xml +++ b/addons/project/project_security.xml @@ -2,93 +2,4 @@ Project Manager - - - - - addons - - - addons - - - addons - - - - project_project base.group_employee - - - - - - - - - project_project group_project_manager - - - - - - - - - project_task base.group_employee - - - - - - - - - project_task group_project_manager - - - - - - - - - project_task account.group_project_member - - - - - - - - - project_task_work base.group_employee - - - - - - - - - project_task_work group_project_manager - - - - - - - - - project_task_work account.group_project_member - - - - - - - \ No newline at end of file diff --git a/addons/purchase/purchase_security.xml b/addons/purchase/purchase_security.xml index 2eb8d2efc90..f036fc4a837 100644 --- a/addons/purchase/purchase_security.xml +++ b/addons/purchase/purchase_security.xml @@ -2,101 +2,4 @@ Purchase Manager - - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - - account_invoice group_purchase_manager - - - - - - - - - account_invoice_line group_purchase_manager - - - - - - - - - account_invoice_tax group_purchase_manager - - - - - - - - - purchase_order base.group_employee - - - - - - - - - purchase_order group_purchase_manager - - - - - - - - - purchase_order_line group_purchase_manager - - - - - - - - - purchase_order_line base.group_employee - - - - - - - - - stock_move group_purchase_manager - - - - - - - \ No newline at end of file diff --git a/addons/report_account/__terp__.py b/addons/report_account/__terp__.py index 27aebb5d661..7b9c20baf54 100644 --- a/addons/report_account/__terp__.py +++ b/addons/report_account/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds new reports based on the account module.", "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_receivable_view.xml"], + "update_xml" : [ + "report_receivable_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_account/ir.model.access.csv b/addons/report_account/ir.model.access.csv new file mode 100644 index 00000000000..162e26600ff --- /dev/null +++ b/addons/report_account/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_account_receivable,report.account.receivable,model_report_account_receivable,base.group_user,1,0,0,0 diff --git a/addons/report_analytic/__terp__.py b/addons/report_analytic/__terp__.py index 0168880430c..c5928486e18 100644 --- a/addons/report_analytic/__terp__.py +++ b/addons/report_analytic/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds new reports based on analytic accounts.", "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_analytic_view.xml"], + "update_xml" : [ + "report_analytic_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_analytic/ir.model.access.csv b/addons/report_analytic/ir.model.access.csv new file mode 100644 index 00000000000..5f9181889cb --- /dev/null +++ b/addons/report_analytic/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_analytic_account_close,report.analytic.account.close,model_report_analytic_account_close,base.group_user,1,0,0,0 diff --git a/addons/report_analytic_line/__terp__.py b/addons/report_analytic_line/__terp__.py index 7b2ff187ab8..bb2b0f8ec42 100644 --- a/addons/report_analytic_line/__terp__.py +++ b/addons/report_analytic_line/__terp__.py @@ -39,6 +39,7 @@ ], "update_xml" : [ "report_analytic_line_view.xml", + "ir.model.access.csv", ], "active": False, "installable": True diff --git a/addons/report_analytic_line/ir.model.access.csv b/addons/report_analytic_line/ir.model.access.csv new file mode 100644 index 00000000000..cc9b921b502 --- /dev/null +++ b/addons/report_analytic_line/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_account_analytic_line_to_invoice,report.account.analytic.line.to.invoice,model_report_account_analytic_line_to_invoice,base.group_user,1,0,0,0 diff --git a/addons/report_crm/__terp__.py b/addons/report_crm/__terp__.py index a82c1af8c1f..efec1f3d174 100644 --- a/addons/report_crm/__terp__.py +++ b/addons/report_crm/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds new reports based on CRM cases.", "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_crm_view.xml"], + "update_xml" : [ + "report_crm_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_crm/ir.model.access.csv b/addons/report_crm/ir.model.access.csv new file mode 100644 index 00000000000..6324447e3ae --- /dev/null +++ b/addons/report_crm/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_crm_case_user,report.crm.case.user,model_report_crm_case_user,base.group_user,1,0,0,0 +access_report_crm_case_categ,report.crm.case.categ,model_report_crm_case_categ,base.group_user,1,0,0,0 diff --git a/addons/report_intrastat/__terp__.py b/addons/report_intrastat/__terp__.py index e6bf6fb67ec..6ac4acad184 100644 --- a/addons/report_intrastat/__terp__.py +++ b/addons/report_intrastat/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds intrastat reports.", "init_xml" : ["report_intrastat_data.xml",], "demo_xml" : [], - "update_xml" : ["report_intrastat_view.xml",], + "update_xml" : [ + "report_intrastat_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_intrastat/ir.model.access.csv b/addons/report_intrastat/ir.model.access.csv new file mode 100644 index 00000000000..cb354173518 --- /dev/null +++ b/addons/report_intrastat/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_intrastat_code,report.intrastat.code,model_report_intrastat_code,base.group_user,1,0,0,0 +access_report_intrastat,report.intrastat,model_report_intrastat,base.group_user,1,0,0,0 diff --git a/addons/report_mrp/__terp__.py b/addons/report_mrp/__terp__.py index 29ed5dbcce4..593abf2d6ab 100644 --- a/addons/report_mrp/__terp__.py +++ b/addons/report_mrp/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds new reports based on MRP cases.", "init_xml": [], "demo_xml": [], - "update_xml": ["report_mrp_view.xml"], + "update_xml": [ + "report_mrp_view.xml", + "ir.model.access.csv", + ], "installable": True } diff --git a/addons/report_mrp/ir.model.access.csv b/addons/report_mrp/ir.model.access.csv new file mode 100644 index 00000000000..aa413e2d248 --- /dev/null +++ b/addons/report_mrp/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_workcenter_load,report.workcenter.load,model_report_workcenter_load,base.group_user,1,0,0,0 +access_report_mrp_inout,report.mrp.inout,model_report_mrp_inout,base.group_user,1,0,0,0 diff --git a/addons/report_project/__terp__.py b/addons/report_project/__terp__.py index e809ae85d8f..5ad437c4d7f 100644 --- a/addons/report_project/__terp__.py +++ b/addons/report_project/__terp__.py @@ -36,7 +36,10 @@ "description": "A module that adds some reports on the sales", "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_project_view.xml"], + "update_xml" : [ + "report_project_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_project/ir.model.access.csv b/addons/report_project/ir.model.access.csv new file mode 100644 index 00000000000..9dbded5a90a --- /dev/null +++ b/addons/report_project/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_project_task_user,report.project.task.user,model_report_project_task_user,base.group_user,1,0,0,0 +access_report_project_task,report.project.task,model_report_project_task,base.group_user,1,0,0,0 diff --git a/addons/report_purchase/__terp__.py b/addons/report_purchase/__terp__.py index c05bde1a4a9..953afc4db6e 100644 --- a/addons/report_purchase/__terp__.py +++ b/addons/report_purchase/__terp__.py @@ -35,7 +35,10 @@ "category" : "Generic Modules/Sales & Purchases", "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_purchase_view.xml"], + "update_xml" : [ + "report_purchase_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_purchase/ir.model.access.csv b/addons/report_purchase/ir.model.access.csv new file mode 100644 index 00000000000..0083635432c --- /dev/null +++ b/addons/report_purchase/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_purchase_order_product,report.purchase.order.product,model_report_purchase_order_product,base.group_user,1,0,0,0 +access_report_purchase_order_category,report.purchase.order.category,model_report_purchase_order_category,base.group_user,1,0,0,0 diff --git a/addons/report_sale/__terp__.py b/addons/report_sale/__terp__.py index 6186dff5559..a17affd5fb7 100644 --- a/addons/report_sale/__terp__.py +++ b/addons/report_sale/__terp__.py @@ -46,7 +46,11 @@ """, "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_sale_view.xml","report_sale_graph.xml"], + "update_xml" : [ + "report_sale_view.xml", + "report_sale_graph.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_sale/ir.model.access.csv b/addons/report_sale/ir.model.access.csv new file mode 100644 index 00000000000..9bc76aeda2b --- /dev/null +++ b/addons/report_sale/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_sale_order_product,report.sale.order.product,model_report_sale_order_product,base.group_user,1,0,0,0 +access_report_sale_order_category,report.sale.order.category,model_report_sale_order_category,base.group_user,1,0,0,0 diff --git a/addons/report_stock/__terp__.py b/addons/report_stock/__terp__.py index 43966a7d4f8..35d0899abc9 100644 --- a/addons/report_stock/__terp__.py +++ b/addons/report_stock/__terp__.py @@ -42,7 +42,10 @@ """, "init_xml" : [], "demo_xml" : [], - "update_xml" : ["report_stock_view.xml",], + "update_xml" : [ + "report_stock_view.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/report_stock/ir.model.access.csv b/addons/report_stock/ir.model.access.csv new file mode 100644 index 00000000000..1fe712a6a59 --- /dev/null +++ b/addons/report_stock/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_stock_prodlots,report.stock.prodlots,model_report_stock_prodlots,base.group_user,1,0,0,0 diff --git a/addons/report_task/__terp__.py b/addons/report_task/__terp__.py index 1617b1ff13f..737fb67c43c 100644 --- a/addons/report_task/__terp__.py +++ b/addons/report_task/__terp__.py @@ -36,6 +36,7 @@ 'init_xml' : [], 'update_xml': [ 'report_task_view.xml', + "ir.model.access.csv", ], 'active': False, 'installable': True diff --git a/addons/report_task/ir.model.access.csv b/addons/report_task/ir.model.access.csv new file mode 100644 index 00000000000..d506ecabe5b --- /dev/null +++ b/addons/report_task/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_report_task_user_pipeline_open,report.task.user.pipeline.open,model_report_task_user_pipeline_open,base.group_user,1,0,0,0 diff --git a/addons/sale/__terp__.py b/addons/sale/__terp__.py index 46c20a4f913..3f840114d05 100644 --- a/addons/sale/__terp__.py +++ b/addons/sale/__terp__.py @@ -52,7 +52,6 @@ - delivery costs """, "update_xml" : [ - "sale_workflow.xml", "sale_sequence.xml", "sale_data.xml", diff --git a/addons/sale/sale_security.xml b/addons/sale/sale_security.xml index 3dfb696ac10..71330a9d7a2 100644 --- a/addons/sale/sale_security.xml +++ b/addons/sale/sale_security.xml @@ -3,30 +3,6 @@ Salesman - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - - - addons - @@ -111,10 +87,10 @@ - - sale_order base.group_employee + + sale_order base.group_user - + @@ -138,10 +114,10 @@ - - sale_order_line base.group_employee + + sale_order_line base.group_user - + diff --git a/addons/scrum/__terp__.py b/addons/scrum/__terp__.py index 117da98e70f..10ee69c7e53 100644 --- a/addons/scrum/__terp__.py +++ b/addons/scrum/__terp__.py @@ -56,7 +56,12 @@ * http://controlchaos.com """, "demo_xml" : ["scrum_demo.xml"], - "update_xml": ["scrum_view.xml","scrum_report.xml", "scrum_wizard.xml"], + "update_xml": [ + "scrum_view.xml", + "scrum_report.xml", + "scrum_wizard.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/scrum/ir.model.access.csv b/addons/scrum/ir.model.access.csv new file mode 100644 index 00000000000..604df36dce2 --- /dev/null +++ b/addons/scrum/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_scrum_team,scrum.team,model_scrum_team,base.group_user,1,0,0,0 +access_scrum_sprint,scrum.sprint,model_scrum_sprint,base.group_user,1,0,0,0 +access_scrum_product_backlog,scrum.product.backlog,model_scrum_product_backlog,base.group_user,1,0,0,0 +access_scrum_meeting,scrum.meeting,model_scrum_meeting,base.group_user,1,0,0,0 diff --git a/addons/scrum/scrum_demo.xml b/addons/scrum/scrum_demo.xml index 4ec1b43644d..70f944a87a6 100644 --- a/addons/scrum/scrum_demo.xml +++ b/addons/scrum/scrum_demo.xml @@ -19,7 +19,7 @@ 2005-12-20 Sprint for V3.2.0 - + open diff --git a/addons/stock/__terp__.py b/addons/stock/__terp__.py index 248b0414370..ae57231c0a5 100644 --- a/addons/stock/__terp__.py +++ b/addons/stock/__terp__.py @@ -35,7 +35,17 @@ "category" : "Generic Modules/Inventory Control", "init_xml" : [], "demo_xml" : ["stock_demo.xml"], - "update_xml" : ["stock_workflow.xml", "stock_data.xml", "stock_incoterms.xml","stock_wizard.xml", "stock_view.xml", "stock_report.xml", "stock_sequence.xml", "product_data.xml",], + "update_xml" : [ + "stock_workflow.xml", + "stock_data.xml", + "stock_incoterms.xml", + "stock_wizard.xml", + "stock_view.xml", + "stock_report.xml", + "stock_sequence.xml", + "product_data.xml", + "ir.model.access.csv", + ], "active": False, "installable": True } diff --git a/addons/stock/ir.model.access.csv b/addons/stock/ir.model.access.csv new file mode 100644 index 00000000000..94254f9d951 --- /dev/null +++ b/addons/stock/ir.model.access.csv @@ -0,0 +1,12 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_stock_incoterms,stock.incoterms,model_stock_incoterms,base.group_user,1,0,0,0 +access_stock_location,stock.location,model_stock_location,base.group_user,1,0,0,0 +access_stock_tracking,stock.tracking,model_stock_tracking,base.group_user,1,0,0,0 +access_stock_picking,stock.picking,model_stock_picking,base.group_user,1,0,0,0 +access_stock_production_lot,stock.production.lot,model_stock_production_lot,base.group_user,1,0,0,0 +access_stock_production_lot_revision,stock.production.lot.revision,model_stock_production_lot_revision,base.group_user,1,0,0,0 +access_stock_move,stock.move,model_stock_move,base.group_user,1,0,0,0 +access_stock_inventory,stock.inventory,model_stock_inventory,base.group_user,1,0,0,0 +access_stock_inventory_line,stock.inventory.line,model_stock_inventory_line,base.group_user,1,0,0,0 +access_stock_warehouse,stock.warehouse,model_stock_warehouse,base.group_user,1,0,0,0 +access_stock_picking_move_wizard,stock.picking.move.wizard,model_stock_picking_move_wizard,base.group_user,1,0,0,0 diff --git a/addons/subscription/__terp__.py b/addons/subscription/__terp__.py index aa509c7d755..62da3096f1e 100644 --- a/addons/subscription/__terp__.py +++ b/addons/subscription/__terp__.py @@ -34,7 +34,9 @@ "depends" : ["base"], "init_xml" : [], "demo_xml" : [], - "update_xml" : ["subscription_view.xml"], + "update_xml" : [ + "ir.model.access.csv", + "subscription_view.xml"], "active": False, "installable": True } diff --git a/addons/subscription/ir.model.access.csv b/addons/subscription/ir.model.access.csv new file mode 100644 index 00000000000..c4da7f24187 --- /dev/null +++ b/addons/subscription/ir.model.access.csv @@ -0,0 +1,5 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_subscription_document,subscription.document,model_subscription_document,base.group_user,1,0,0,0 +access_subscription_document_fields,subscription.document.fields,model_subscription_document_fields,base.group_user,1,0,0,0 +access_subscription_subscription,subscription.subscription,model_subscription_subscription,base.group_user,1,0,0,0 +access_subscription_subscription_history,subscription.subscription.history,model_subscription_subscription_history,base.group_user,1,0,0,0 From f71b47b4a8db2b4fffc1ad30b8cd3b5bc22b0339 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Aubort Date: Fri, 29 Aug 2008 13:34:54 +0200 Subject: [PATCH 7/9] * Removed group_admin bzr revid: jean-baptiste.aubort@camptocamp.com-20080829113454-2wh5zm8urll0e3s2 --- addons/hr/hr_security.xml | 14 +++++ addons/hr/hr_view.xml | 115 +++++++++----------------------------- 2 files changed, 39 insertions(+), 90 deletions(-) create mode 100644 addons/hr/hr_security.xml diff --git a/addons/hr/hr_security.xml b/addons/hr/hr_security.xml new file mode 100644 index 00000000000..4ec02e7aa55 --- /dev/null +++ b/addons/hr/hr_security.xml @@ -0,0 +1,14 @@ + + + + + HR Manager + + + + + Employee + + + + diff --git a/addons/hr/hr_view.xml b/addons/hr/hr_view.xml index ee2f50bc6c2..126ca59dfad 100644 --- a/addons/hr/hr_view.xml +++ b/addons/hr/hr_view.xml @@ -87,18 +87,33 @@ [('parent_id','=',False)] - - - Employees hr.employee form tree,form - - + + + + + My Employees + hr.employee + form + tree,form + [('parent_id.user_id','=',uid)] + + New Employee @@ -106,8 +121,11 @@ form form,tree - - + + - - hr.holidays.form - hr.holidays - form - -
- - - - - - - -
- - hr.holidays.tree - hr.holidays - tree - - - - - - - - - - - hr.holidays.ask_form - hr.holidays - form - -
- - - - - - - - -
- - Vacation Requests - hr.holidays - form - - - - - - - - hr.holidays.status.form - hr.holidays.status - form - -
- - -
-
- - hr.holidays.status.tree - hr.holidays.status - tree - - - - - - - - Holiday Status - ir.actions.act_window - hr.holidays.status - form - tree,form - - - - hr.action.reason.form hr.action.reason From 21037c3be310754acb4bb2bfcb33486ece4ca6ae Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Aubort Date: Fri, 29 Aug 2008 15:53:27 +0200 Subject: [PATCH 8/9] Big MESS (UNCOMMIT PLEASE) bzr revid: jean-baptiste.aubort@camptocamp.com-20080829135327-ni4y8r8j2kjiqsiw --- addons/account_analytic_plans/__terp__.py | 4 +++- addons/account_budget_crossover/__terp__.py | 4 +++- addons/account_invoice_layout/__terp__.py | 2 ++ addons/account_reporting/__terp__.py | 2 ++ addons/auction/__terp__.py | 4 +++- addons/base_contact/__terp__.py | 4 +++- addons/base_module_record/__terp__.py | 4 +++- addons/crm_configuration/__terp__.py | 2 ++ addons/event/__terp__.py | 2 ++ addons/hr/hr_demo.xml | 4 ++-- addons/hr_holidays/__terp__.py | 4 +++- addons/idea/__terp__.py | 4 +++- addons/membership/__terp__.py | 2 ++ addons/point_of_sale/__terp__.py | 4 +++- addons/project_gtd/__terp__.py | 4 +++- 15 files changed, 39 insertions(+), 11 deletions(-) diff --git a/addons/account_analytic_plans/__terp__.py b/addons/account_analytic_plans/__terp__.py index 3fc3444e350..d01ab399ec2 100644 --- a/addons/account_analytic_plans/__terp__.py +++ b/addons/account_analytic_plans/__terp__.py @@ -38,7 +38,9 @@ ], "demo_xml" : [ ], - "update_xml" : ["model_wizard.xml","account_analytic_plans_view.xml", + "update_xml" : [ + "ir.model.access.csv", +"model_wizard.xml","account_analytic_plans_view.xml", "account_analytic_plans_report.xml"], "active": False, diff --git a/addons/account_budget_crossover/__terp__.py b/addons/account_budget_crossover/__terp__.py index 39690790a06..f21b27bf0a1 100644 --- a/addons/account_budget_crossover/__terp__.py +++ b/addons/account_budget_crossover/__terp__.py @@ -22,7 +22,9 @@ "depends" : ["account"], "init_xml" : [], "demo_xml" : [], - "update_xml" : ["crossovered_budget_view.xml","crossovered_budget_report.xml","crossovered_budget_workflow.xml"], + "update_xml" : [ + "ir.model.access.csv", +"crossovered_budget_view.xml","crossovered_budget_report.xml","crossovered_budget_workflow.xml"], "active": False, "installable": True } diff --git a/addons/account_invoice_layout/__terp__.py b/addons/account_invoice_layout/__terp__.py index 6d71a61fd44..865f9df4a17 100644 --- a/addons/account_invoice_layout/__terp__.py +++ b/addons/account_invoice_layout/__terp__.py @@ -20,6 +20,8 @@ "init_xml" : [], "demo_xml" : [], "update_xml" : [ + "ir.model.access.csv", + "account_invoice_layout_view.xml", "account_invoice_layout_report.xml", ], diff --git a/addons/account_reporting/__terp__.py b/addons/account_reporting/__terp__.py index b25f7a1c2fd..8192cb331dd 100644 --- a/addons/account_reporting/__terp__.py +++ b/addons/account_reporting/__terp__.py @@ -9,6 +9,8 @@ "init_xml" : [ ], "demo_xml" : [ ], "update_xml" : [ + "ir.model.access.csv", + "account_view.xml", "account_report.xml", "account_data.xml", diff --git a/addons/auction/__terp__.py b/addons/auction/__terp__.py index e0c23b6a71c..a8ee09a4a46 100644 --- a/addons/auction/__terp__.py +++ b/addons/auction/__terp__.py @@ -3,7 +3,9 @@ "name" : "Auction module", "version" : "1.0", "depends" : ["base","account","l10n_be","hr"], - "update_xml" : ["auction_view.xml", "auction_report.xml", "auction_wizard.xml"], + "update_xml" : [ + "ir.model.access.csv", +"auction_view.xml", "auction_report.xml", "auction_wizard.xml"], "demo_xml" : [ "auction_demo.xml" ], diff --git a/addons/base_contact/__terp__.py b/addons/base_contact/__terp__.py index 6ec41c49644..9a680206a30 100644 --- a/addons/base_contact/__terp__.py +++ b/addons/base_contact/__terp__.py @@ -22,7 +22,9 @@ "depends" : ["base"], "init_xml" : [], "demo_xml" : [], - "update_xml" : ['base_contact_view.xml'], + "update_xml" : [ + "ir.model.access.csv", +'base_contact_view.xml'], "active": False, "installable": True } diff --git a/addons/base_module_record/__terp__.py b/addons/base_module_record/__terp__.py index cb5754af64a..625e0bdd8e8 100644 --- a/addons/base_module_record/__terp__.py +++ b/addons/base_module_record/__terp__.py @@ -27,7 +27,9 @@ How to use it: "depends" : ["base"], "init_xml" : [ ], "demo_xml" : [ ], - "update_xml" : [ "base_module_record_wizard.xml" ], + "update_xml" : [ + "ir.model.access.csv", + "base_module_record_wizard.xml" ], "installable": True } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/crm_configuration/__terp__.py b/addons/crm_configuration/__terp__.py index 84395d3c033..7a188bb731e 100644 --- a/addons/crm_configuration/__terp__.py +++ b/addons/crm_configuration/__terp__.py @@ -26,6 +26,8 @@ "crm_opportunity_data.xml" ], "update_xml" : [ + "ir.model.access.csv", + "crm_bugs_demo.xml", "crm_jobs_demo.xml", "crm_lead_demo.xml", diff --git a/addons/event/__terp__.py b/addons/event/__terp__.py index 17de9067e4f..102b973b572 100644 --- a/addons/event/__terp__.py +++ b/addons/event/__terp__.py @@ -24,6 +24,8 @@ "demo_xml" : ["event_demo.xml"], "init_xml" : ["event_data.xml"], "update_xml" : [ + "ir.model.access.csv", + "event_wizard.xml","event_view.xml","event_sequence.xml" ], "active" : False, diff --git a/addons/hr/hr_demo.xml b/addons/hr/hr_demo.xml index 0c5229e436f..f0159661835 100644 --- a/addons/hr/hr_demo.xml +++ b/addons/hr/hr_demo.xml @@ -35,9 +35,9 @@ Fabien Pinckaers - 45 + - 25 + diff --git a/addons/hr_holidays/__terp__.py b/addons/hr_holidays/__terp__.py index 1396ab5215a..e4a7dbb3b83 100644 --- a/addons/hr_holidays/__terp__.py +++ b/addons/hr_holidays/__terp__.py @@ -27,7 +27,9 @@ "depends" : ["hr","crm_configuration"], "init_xml" : [], "demo_xml" : ["hr_bel_holidays_2008.xml",], - "update_xml" : ["hr_workflow.xml","hr_view.xml","hr_holidays_report.xml","hr_holidays_wizard.xml",], + "update_xml" : [ + "ir.model.access.csv", +"hr_workflow.xml","hr_view.xml","hr_holidays_report.xml","hr_holidays_wizard.xml",], "active": False, "installable": True } diff --git a/addons/idea/__terp__.py b/addons/idea/__terp__.py index 6091a7c1cc8..d24abe82159 100644 --- a/addons/idea/__terp__.py +++ b/addons/idea/__terp__.py @@ -9,7 +9,9 @@ "depends" : ['base'], "init_xml" : [ ], "demo_xml" : [ ], - "update_xml" : ['idea_view.xml', 'idea_workflow.xml'], + "update_xml" : [ + "ir.model.access.csv", +'idea_view.xml', 'idea_workflow.xml'], "installable": True } # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/membership/__terp__.py b/addons/membership/__terp__.py index 19311f6ebb0..5b65f1d9bb3 100644 --- a/addons/membership/__terp__.py +++ b/addons/membership/__terp__.py @@ -15,6 +15,8 @@ "membership_data.xml", ], "update_xml" : [ + "ir.model.access.csv", + "membership_view.xml","membership_wizard.xml" ], "active" : False, diff --git a/addons/point_of_sale/__terp__.py b/addons/point_of_sale/__terp__.py index 6ddb5ae00bf..2b0def1b195 100644 --- a/addons/point_of_sale/__terp__.py +++ b/addons/point_of_sale/__terp__.py @@ -18,7 +18,9 @@ Main features : "depends": ["sale", "purchase", "account", "account_tax_include"], "init_xml": [], "demo_xml": [], - "update_xml": ["pos_report.xml", "pos_wizard.xml", "pos_view.xml", "pos_sequence.xml", "pos_data.xml", "pos_workflow.xml"], + "update_xml": [ + "ir.model.access.csv", +"pos_report.xml", "pos_wizard.xml", "pos_view.xml", "pos_sequence.xml", "pos_data.xml", "pos_workflow.xml"], "installable": True, } diff --git a/addons/project_gtd/__terp__.py b/addons/project_gtd/__terp__.py index c236f95943e..914ceb9c269 100644 --- a/addons/project_gtd/__terp__.py +++ b/addons/project_gtd/__terp__.py @@ -8,7 +8,9 @@ "description": "", "init_xml" : [], "demo_xml" : ["project_gtd_demo.xml"], - "update_xml": ["project_gtd_view.xml","project_gtd_wizard.xml"], + "update_xml": [ + "ir.model.access.csv", +"project_gtd_view.xml","project_gtd_wizard.xml"], "active": False, "installable": True } From 8267e8209be9e9a17f19c09afaa7ac7458e321fc Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Aubort Date: Tue, 2 Sep 2008 15:21:24 +0200 Subject: [PATCH 9/9] Add some missing config files bzr revid: jean-baptiste.aubort@camptocamp.com-20080902132124-h6kn8oor6lpqmzuw --- .../ir.model.access.csv | 2 -- .../ir.model.access.csv | 4 ++++ .../ir.model.access.csv | 3 +++ .../ir.model.access.csv | 2 ++ addons/account_reporting/ir.model.access.csv | 3 +++ .../aso_vertical_view.xml | 8 +++---- addons/association_vertical/crm_fund_data.xml | 10 ++++---- addons/auction/auction_view.xml | 4 ++-- addons/auction/ir.model.access.csv | 20 ++++++++++++++++ addons/base_contact/ir.model.access.csv | 3 +++ addons/base_module_record/ir.model.access.csv | 2 ++ .../board_association_demo.xml | 4 ++-- addons/board_auction/board_auction_demo.xml | 2 +- .../board_crm_demo.xml | 2 +- addons/board_document/board_document_demo.xml | 2 +- addons/board_project/board_project_view.xml | 12 +++++----- addons/crm_configuration/crm_bugs_data.xml | 24 +++++++++---------- addons/crm_configuration/crm_jobs_data.xml | 12 +++++----- addons/crm_configuration/crm_lead_data.xml | 12 +++++----- addons/crm_configuration/crm_meeting_data.xml | 8 +++---- .../crm_opportunity_data.xml | 8 +++---- addons/crm_configuration/ir.model.access.csv | 4 ++++ .../crm_vertical/crm_vertical_shortcuts.xml | 8 +++---- addons/event/event_demo.xml | 10 ++++---- addons/event/ir.model.access.csv | 6 +++++ addons/hr_holidays/hr_view.xml | 4 ++-- addons/hr_holidays/ir.model.access.csv | 2 ++ addons/idea/ir.model.access.csv | 6 +++++ addons/membership/ir.model.access.csv | 1 + addons/point_of_sale/ir.model.access.csv | 6 +++++ addons/project_gtd/ir.model.access.csv | 3 +++ addons/project_gtd/project_gtd_demo.xml | 8 +++---- 32 files changed, 134 insertions(+), 71 deletions(-) create mode 100644 addons/account_analytic_plans/ir.model.access.csv create mode 100644 addons/account_budget_crossover/ir.model.access.csv create mode 100644 addons/account_invoice_layout/ir.model.access.csv create mode 100644 addons/account_reporting/ir.model.access.csv create mode 100644 addons/auction/ir.model.access.csv create mode 100644 addons/base_contact/ir.model.access.csv create mode 100644 addons/base_module_record/ir.model.access.csv create mode 100644 addons/crm_configuration/ir.model.access.csv create mode 100644 addons/event/ir.model.access.csv create mode 100644 addons/hr_holidays/ir.model.access.csv create mode 100644 addons/idea/ir.model.access.csv create mode 100644 addons/membership/ir.model.access.csv create mode 100644 addons/point_of_sale/ir.model.access.csv create mode 100644 addons/project_gtd/ir.model.access.csv diff --git a/addons/account_analytic_analysis/ir.model.access.csv b/addons/account_analytic_analysis/ir.model.access.csv index 044093a93a9..4a08a4aa60d 100644 --- a/addons/account_analytic_analysis/ir.model.access.csv +++ b/addons/account_analytic_analysis/ir.model.access.csv @@ -1,3 +1 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink -access_user,user,model_user,base.group_user,1,0,0,0 -access_month,month,model_month,base.group_user,1,0,0,0 diff --git a/addons/account_analytic_plans/ir.model.access.csv b/addons/account_analytic_plans/ir.model.access.csv new file mode 100644 index 00000000000..73e19bb3d93 --- /dev/null +++ b/addons/account_analytic_plans/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_account_analytic_plan_line,account.analytic.plan.line,model_account_analytic_plan_line,base.group_user,1,0,0,0 +access_account_analytic_plan_instance,account.analytic.plan.instance,model_account_analytic_plan_instance,base.group_user,1,0,0,0 +access_account_analytic_plan_instance_line,account.analytic.plan.instance.line,model_account_analytic_plan_instance_line,base.group_user,1,0,0,0 diff --git a/addons/account_budget_crossover/ir.model.access.csv b/addons/account_budget_crossover/ir.model.access.csv new file mode 100644 index 00000000000..d8be1f31b2e --- /dev/null +++ b/addons/account_budget_crossover/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_crossovered_budget,crossovered.budget,model_crossovered_budget,base.group_user,1,0,0,0 +access_crossovered_budget_lines,crossovered.budget.lines,model_crossovered_budget_lines,base.group_user,1,0,0,0 diff --git a/addons/account_invoice_layout/ir.model.access.csv b/addons/account_invoice_layout/ir.model.access.csv new file mode 100644 index 00000000000..0b84973b841 --- /dev/null +++ b/addons/account_invoice_layout/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_notify_message,notify.message,model_notify_message,base.group_user,1,0,0,0 diff --git a/addons/account_reporting/ir.model.access.csv b/addons/account_reporting/ir.model.access.csv new file mode 100644 index 00000000000..ef9f29f8bef --- /dev/null +++ b/addons/account_reporting/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_color_rml,color.rml,model_color_rml,base.group_user,1,0,0,0 +access_account_report_bs,account.report.bs,model_account_report_bs,base.group_user,1,0,0,0 diff --git a/addons/association_vertical/aso_vertical_view.xml b/addons/association_vertical/aso_vertical_view.xml index ae2f43a0fd9..01fd9b39655 100644 --- a/addons/association_vertical/aso_vertical_view.xml +++ b/addons/association_vertical/aso_vertical_view.xml @@ -21,28 +21,28 @@ - + - + - + - + diff --git a/addons/association_vertical/crm_fund_data.xml b/addons/association_vertical/crm_fund_data.xml index 14db1c362f9..051de401ba7 100644 --- a/addons/association_vertical/crm_fund_data.xml +++ b/addons/association_vertical/crm_fund_data.xml @@ -27,7 +27,7 @@ - + @@ -45,7 +45,7 @@ - + @@ -79,7 +79,7 @@ - + @@ -96,7 +96,7 @@ - + @@ -133,7 +133,7 @@ - + diff --git a/addons/auction/auction_view.xml b/addons/auction/auction_view.xml index 4bb8a9f840c..02400f4062b 100644 --- a/addons/auction/auction_view.xml +++ b/addons/auction/auction_view.xml @@ -2,7 +2,7 @@ - + ======================================================= Auction Management/Configuration/artist @@ -640,7 +640,7 @@ Auction Management/Auction Dates/Reporting auction.bid form - + diff --git a/addons/auction/ir.model.access.csv b/addons/auction/ir.model.access.csv new file mode 100644 index 00000000000..87826f27557 --- /dev/null +++ b/addons/auction/ir.model.access.csv @@ -0,0 +1,20 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_auction_artists,auction.artists,model_auction_artists,base.group_user,1,0,0,0 +access_auction_dates,auction.dates,model_auction_dates,base.group_user,1,0,0,0 +access_auction_deposit,auction.deposit,model_auction_deposit,base.group_user,1,0,0,0 +access_auction_deposit_cost,auction.deposit.cost,model_auction_deposit_cost,base.group_user,1,0,0,0 +access_auction_lot_category,auction.lot.category,model_auction_lot_category,base.group_user,1,0,0,0 +access_auction_lots,auction.lots,model_auction_lots,base.group_user,1,0,0,0 +access_auction_bid,auction.bid,model_auction_bid,base.group_user,1,0,0,0 +access_auction_lot_history,auction.lot.history,model_auction_lot_history,base.group_user,1,0,0,0 +access_report_buyer_auction,report.buyer.auction,model_report_buyer_auction,base.group_user,1,0,0,0 +access_report_seller_auction,report.seller.auction,model_report_seller_auction,base.group_user,1,0,0,0 +access_report_auction_view,report.auction.view,model_report_auction_view,base.group_user,1,0,0,0 +access_report_auction_object_date,report.auction.object.date,model_report_auction_object_date,base.group_user,1,0,0,0 +access_report_auction_estimation_adj_category,report.auction.estimation.adj.category,model_report_auction_estimation_adj_category,base.group_user,1,0,0,0 +access_report_auction_adjudication,report.auction.adjudication,model_report_auction_adjudication,base.group_user,1,0,0,0 +access_report_attendance,report.attendance,model_report_attendance,base.group_user,1,0,0,0 +access_report_deposit_border,report.deposit.border,model_report_deposit_border,base.group_user,1,0,0,0 +access_report_object_encoded,report.object.encoded,model_report_object_encoded,base.group_user,1,0,0,0 +access_report_object_encoded_manager,report.object.encoded.manager,model_report_object_encoded_manager,base.group_user,1,0,0,0 +access_report_unclassified_objects,report.unclassified.objects,model_report_unclassified_objects,base.group_user,1,0,0,0 diff --git a/addons/base_contact/ir.model.access.csv b/addons/base_contact/ir.model.access.csv new file mode 100644 index 00000000000..1f1de402570 --- /dev/null +++ b/addons/base_contact/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_res_partner_contact,res.partner.contact,model_res_partner_contact,base.group_user,1,0,0,0 +access_res_partner_job,res.partner.job,model_res_partner_job,base.group_user,1,0,0,0 diff --git a/addons/base_module_record/ir.model.access.csv b/addons/base_module_record/ir.model.access.csv new file mode 100644 index 00000000000..29dfb1835ca --- /dev/null +++ b/addons/base_module_record/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_ir_module_record,ir.module.record,model_ir_module_record,base.group_user,1,0,0,0 diff --git a/addons/board_association/board_association_demo.xml b/addons/board_association/board_association_demo.xml index 76d9e89ddeb..91c51ac40f4 100644 --- a/addons/board_association/board_association_demo.xml +++ b/addons/board_association/board_association_demo.xml @@ -8,12 +8,12 @@ --> Dashboard - + ir.ui.menu 1 - + diff --git a/addons/board_auction/board_auction_demo.xml b/addons/board_auction/board_auction_demo.xml index b63cb1d2d7b..eb525bacc99 100644 --- a/addons/board_auction/board_auction_demo.xml +++ b/addons/board_auction/board_auction_demo.xml @@ -4,7 +4,7 @@ Auction dashboard - + ir.ui.menu 4 diff --git a/addons/board_crm_configuration/board_crm_demo.xml b/addons/board_crm_configuration/board_crm_demo.xml index 39bc1f289f5..f05393aff0c 100644 --- a/addons/board_crm_configuration/board_crm_demo.xml +++ b/addons/board_crm_configuration/board_crm_demo.xml @@ -13,7 +13,7 @@ 3 --> - + diff --git a/addons/board_document/board_document_demo.xml b/addons/board_document/board_document_demo.xml index 5e8050acf19..dc059263b4c 100644 --- a/addons/board_document/board_document_demo.xml +++ b/addons/board_document/board_document_demo.xml @@ -8,7 +8,7 @@ --> Documents dashboard - + ir.ui.menu 1 diff --git a/addons/board_project/board_project_view.xml b/addons/board_project/board_project_view.xml index 72477c3e7d0..25e24e7634b 100644 --- a/addons/board_project/board_project_view.xml +++ b/addons/board_project/board_project_view.xml @@ -65,12 +65,12 @@ - - - - - - + + + + + + diff --git a/addons/crm_configuration/crm_bugs_data.xml b/addons/crm_configuration/crm_bugs_data.xml index 24aa183d6ce..69608dafbe0 100644 --- a/addons/crm_configuration/crm_bugs_data.xml +++ b/addons/crm_configuration/crm_bugs_data.xml @@ -10,7 +10,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -81,7 +81,7 @@ - + @@ -97,7 +97,7 @@ - + @@ -113,7 +113,7 @@ - + @@ -129,7 +129,7 @@ - + @@ -161,7 +161,7 @@ - + @@ -177,7 +177,7 @@ - + @@ -210,7 +210,7 @@ - + @@ -229,7 +229,7 @@ - + @@ -245,7 +245,7 @@ - + diff --git a/addons/crm_configuration/crm_jobs_data.xml b/addons/crm_configuration/crm_jobs_data.xml index 1cfb63b3a7b..aa1e508b4cb 100644 --- a/addons/crm_configuration/crm_jobs_data.xml +++ b/addons/crm_configuration/crm_jobs_data.xml @@ -12,7 +12,7 @@ - + @@ -33,7 +33,7 @@ - + @@ -55,7 +55,7 @@ - + @@ -74,7 +74,7 @@ - + @@ -109,7 +109,7 @@ - + @@ -130,7 +130,7 @@ - + diff --git a/addons/crm_configuration/crm_lead_data.xml b/addons/crm_configuration/crm_lead_data.xml index 0857d2a769c..3b6ae85f3dd 100644 --- a/addons/crm_configuration/crm_lead_data.xml +++ b/addons/crm_configuration/crm_lead_data.xml @@ -12,7 +12,7 @@ - + @@ -31,7 +31,7 @@ - + @@ -69,7 +69,7 @@ - + @@ -88,7 +88,7 @@ - + @@ -108,7 +108,7 @@ - + @@ -126,7 +126,7 @@ - + diff --git a/addons/crm_configuration/crm_meeting_data.xml b/addons/crm_configuration/crm_meeting_data.xml index e7a1dd2f6ec..a6654007c5b 100644 --- a/addons/crm_configuration/crm_meeting_data.xml +++ b/addons/crm_configuration/crm_meeting_data.xml @@ -11,7 +11,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -48,7 +48,7 @@ - + @@ -100,7 +100,7 @@ - + diff --git a/addons/crm_configuration/crm_opportunity_data.xml b/addons/crm_configuration/crm_opportunity_data.xml index c4a3248077f..7294a8e21dc 100644 --- a/addons/crm_configuration/crm_opportunity_data.xml +++ b/addons/crm_configuration/crm_opportunity_data.xml @@ -15,7 +15,7 @@ - + @@ -30,7 +30,7 @@ - + @@ -48,7 +48,7 @@ - + @@ -85,7 +85,7 @@ - + diff --git a/addons/crm_configuration/ir.model.access.csv b/addons/crm_configuration/ir.model.access.csv new file mode 100644 index 00000000000..21a8937f9c1 --- /dev/null +++ b/addons/crm_configuration/ir.model.access.csv @@ -0,0 +1,4 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_crm_case_stage,crm.case.stage,model_crm_case_stage,base.group_user,1,0,0,0 +access_report_crm_case_section_stage,report.crm.case.section.stage,model_report_crm_case_section_stage,base.group_user,1,0,0,0 +access_report_crm_case_section_categ_stage,report.crm.case.section.categ.stage,model_report_crm_case_section_categ_stage,base.group_user,1,0,0,0 diff --git a/addons/crm_vertical/crm_vertical_shortcuts.xml b/addons/crm_vertical/crm_vertical_shortcuts.xml index 219626bf725..3c120f011e5 100644 --- a/addons/crm_vertical/crm_vertical_shortcuts.xml +++ b/addons/crm_vertical/crm_vertical_shortcuts.xml @@ -5,7 +5,7 @@ - + @@ -13,7 +13,7 @@ - + @@ -21,7 +21,7 @@ - +
@@ -29,7 +29,7 @@ - +
diff --git a/addons/event/event_demo.xml b/addons/event/event_demo.xml index 5f743c699a8..58a301326a4 100644 --- a/addons/event/event_demo.xml +++ b/addons/event/event_demo.xml @@ -59,7 +59,7 @@ 2008-01-01 23:00:00 - + 500 draft @@ -71,7 +71,7 @@ 2008-02-02 23:00:00 - + 500 @@ -82,7 +82,7 @@ 2008-04-04 23:00:00 - + 500 @@ -93,7 +93,7 @@ 2008-03-05 21:00:00 - + 350 confirm @@ -106,7 +106,7 @@ 200 - + True True diff --git a/addons/event/ir.model.access.csv b/addons/event/ir.model.access.csv new file mode 100644 index 00000000000..32994e277b8 --- /dev/null +++ b/addons/event/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_event_type,event.type,model_event_type,base.group_user,1,0,0,0 +access_event_event,event.event,model_event_event,base.group_user,1,0,0,0 +access_event_registration,event.registration,model_event_registration,base.group_user,1,0,0,0 +access_report_event_registration,report.event.registration,model_report_event_registration,base.group_user,1,0,0,0 +access_report_event_type_registration,report.event.type.registration,model_report_event_type_registration,base.group_user,1,0,0,0 diff --git a/addons/hr_holidays/hr_view.xml b/addons/hr_holidays/hr_view.xml index 410803c1c27..21d49da0462 100644 --- a/addons/hr_holidays/hr_view.xml +++ b/addons/hr_holidays/hr_view.xml @@ -97,7 +97,7 @@ form tree,form - + @@ -227,7 +227,7 @@ form tree,form,graph - + My Available Holidays diff --git a/addons/hr_holidays/ir.model.access.csv b/addons/hr_holidays/ir.model.access.csv new file mode 100644 index 00000000000..718669d5a69 --- /dev/null +++ b/addons/hr_holidays/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_hr_holidays_per_user,hr.holidays.per.user,model_hr_holidays_per_user,base.group_user,1,0,0,0 diff --git a/addons/idea/ir.model.access.csv b/addons/idea/ir.model.access.csv new file mode 100644 index 00000000000..4b23bfa0540 --- /dev/null +++ b/addons/idea/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_idea_category,idea.category,model_idea_category,base.group_user,1,0,0,0 +access_idea_idea,idea.idea,model_idea_idea,base.group_user,1,0,0,0 +access_idea_comment,idea.comment,model_idea_comment,base.group_user,1,0,0,0 +access_idea_vote,idea.vote,model_idea_vote,base.group_user,1,0,0,0 +access_idea_vote_stat,idea.vote.stat,model_idea_vote_stat,base.group_user,1,0,0,0 diff --git a/addons/membership/ir.model.access.csv b/addons/membership/ir.model.access.csv new file mode 100644 index 00000000000..4a08a4aa60d --- /dev/null +++ b/addons/membership/ir.model.access.csv @@ -0,0 +1 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink diff --git a/addons/point_of_sale/ir.model.access.csv b/addons/point_of_sale/ir.model.access.csv new file mode 100644 index 00000000000..4bbbc21714d --- /dev/null +++ b/addons/point_of_sale/ir.model.access.csv @@ -0,0 +1,6 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_pos_config_journal,pos.config.journal,model_pos_config_journal,base.group_user,1,0,0,0 +access_pos_order,pos.order,model_pos_order,base.group_user,1,0,0,0 +access_pos_order_line,pos.order.line,model_pos_order_line,base.group_user,1,0,0,0 +access_pos_payment,pos.payment,model_pos_payment,base.group_user,1,0,0,0 +access_report_transaction_pos,report.transaction.pos,model_report_transaction_pos,base.group_user,1,0,0,0 diff --git a/addons/project_gtd/ir.model.access.csv b/addons/project_gtd/ir.model.access.csv new file mode 100644 index 00000000000..3a15c2a42e1 --- /dev/null +++ b/addons/project_gtd/ir.model.access.csv @@ -0,0 +1,3 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_project_gtd_context,project.gtd.context,model_project_gtd_context,base.group_user,1,0,0,0 +access_project_gtd_timebox,project.gtd.timebox,model_project_gtd_timebox,base.group_user,1,0,0,0 diff --git a/addons/project_gtd/project_gtd_demo.xml b/addons/project_gtd/project_gtd_demo.xml index 56d8dda0b19..8fc668ed283 100644 --- a/addons/project_gtd/project_gtd_demo.xml +++ b/addons/project_gtd/project_gtd_demo.xml @@ -25,7 +25,7 @@ Daily - + daily @@ -37,7 +37,7 @@ Weekly - + weekly @@ -49,7 +49,7 @@ Monthly - + other @@ -61,7 +61,7 @@ Long Term - + other