From f222afe2719be36e07280187e05b44f6c1f4c2c8 Mon Sep 17 00:00:00 2001 From: Mantavya Gajjar Date: Tue, 25 Mar 2008 11:52:12 +0000 Subject: [PATCH] Tested security datas and make it working as security access bzr revid: mga@tinyerp.com-b977baa1fe04a6d65d874fb07495470d6539dbe5 --- addons/hr/hr_security.xml | 37 ++++---- addons/mrp/mrp_security.xml | 74 +++++++++------- addons/mrp/mrp_view.xml | 26 +++--- addons/product/product_security.xml | 32 ++++--- addons/purchase/purchase_security.xml | 50 +++++++++-- addons/sale/sale_security.xml | 118 ++++++++++++++++++++++++-- 6 files changed, 248 insertions(+), 89 deletions(-) diff --git a/addons/hr/hr_security.xml b/addons/hr/hr_security.xml index c3f6efdc688..0825e7a29f2 100644 --- a/addons/hr/hr_security.xml +++ b/addons/hr/hr_security.xml @@ -1,19 +1,26 @@ - + HR Manager - + Employee - + - + + + + + + + + HR Department @@ -33,7 +40,7 @@ - + HR Timesheet Group @@ -53,7 +60,7 @@ - + HR Employee Category @@ -73,7 +80,7 @@ - + HR Employee @@ -93,7 +100,7 @@ - + HR Employee @@ -103,7 +110,7 @@ - + HR Employee Timesheet @@ -123,7 +130,7 @@ - + HR Employee Timesheet @@ -133,7 +140,7 @@ - + HR Timesheet Action Reason @@ -153,7 +160,7 @@ - + HR Attendance @@ -173,7 +180,7 @@ - + HR Attendance @@ -183,7 +190,7 @@ - + HR Holiday Status @@ -203,7 +210,7 @@ - + HR Holidays diff --git a/addons/mrp/mrp_security.xml b/addons/mrp/mrp_security.xml index fa01ecea791..8e39dcfdf57 100644 --- a/addons/mrp/mrp_security.xml +++ b/addons/mrp/mrp_security.xml @@ -1,19 +1,27 @@ - + Production Manager - + Workers - - - + + + - + + + + + + + + + Workcenter @@ -23,7 +31,7 @@ - + Workcenter @@ -33,7 +41,7 @@ - + Workcenter @@ -43,7 +51,7 @@ - + Property @@ -53,7 +61,7 @@ - + Property @@ -63,7 +71,7 @@ - + Property @@ -73,7 +81,7 @@ - + Property Group @@ -83,7 +91,7 @@ - + Property Group @@ -93,7 +101,7 @@ - + Property Group @@ -103,7 +111,7 @@ - + Routing @@ -113,7 +121,7 @@ - + Routing @@ -123,7 +131,7 @@ - + Routing @@ -133,7 +141,7 @@ - + Workcenter Routing @@ -143,7 +151,7 @@ - + Workcenter Routing @@ -153,7 +161,7 @@ - + Workcenter Routing @@ -163,7 +171,7 @@ - + Bill of Material @@ -173,7 +181,7 @@ - + Bill of Material @@ -183,7 +191,7 @@ - + Bill of Material @@ -193,7 +201,7 @@ - + Bom Revision @@ -203,7 +211,7 @@ - + Bom Revision @@ -213,7 +221,7 @@ - + Bom Revision @@ -223,7 +231,7 @@ - + Production @@ -253,7 +261,7 @@ - + Procurement @@ -283,7 +291,7 @@ - + Production Product Line @@ -313,7 +321,7 @@ - + Production Product Line @@ -343,7 +351,7 @@ - + Stock Move @@ -373,8 +381,8 @@ - - + + Stock Move diff --git a/addons/mrp/mrp_view.xml b/addons/mrp/mrp_view.xml index ee198cb76bc..bf2355dc610 100644 --- a/addons/mrp/mrp_view.xml +++ b/addons/mrp/mrp_view.xml @@ -26,7 +26,7 @@ form tree,form - @@ -127,9 +127,9 @@ - + --> mrp.routing.workcenter.tree @@ -200,9 +200,9 @@ - + --> mrp.bom.form @@ -333,9 +333,9 @@ - + --> mrp.production.tree @@ -657,9 +657,9 @@ tree,form [('state','=','exception'), ('message', '<>', '')] - @@ -670,9 +670,9 @@ tree,form [('state','=','exception'), ('message', '=', '')] - ============================= diff --git a/addons/product/product_security.xml b/addons/product/product_security.xml index b1304e1dcf8..b01c7dfdc59 100644 --- a/addons/product/product_security.xml +++ b/addons/product/product_security.xml @@ -1,15 +1,19 @@ - + Product Manager - + - + + + + + Product @@ -19,7 +23,7 @@ - + Product @@ -29,7 +33,7 @@ - + Product Template @@ -39,7 +43,7 @@ - + Product Template @@ -49,7 +53,7 @@ - + Product Pricelist @@ -59,7 +63,7 @@ - + Product Pricelist @@ -69,7 +73,7 @@ - + Product Pricelist Version @@ -79,7 +83,7 @@ - + Product Pricelist Version @@ -89,7 +93,7 @@ - + Product Pricelist Item @@ -99,7 +103,7 @@ - + Product Pricelist Item @@ -109,7 +113,7 @@ - + - + diff --git a/addons/purchase/purchase_security.xml b/addons/purchase/purchase_security.xml index 9ad1b398475..17758574c1c 100644 --- a/addons/purchase/purchase_security.xml +++ b/addons/purchase/purchase_security.xml @@ -1,15 +1,55 @@ - + Purchase Manager - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Purchase Order @@ -19,7 +59,7 @@ - + Purchase Order @@ -29,7 +69,7 @@ - + Purchase Order Line diff --git a/addons/sale/sale_security.xml b/addons/sale/sale_security.xml index 8ea75c2f5f5..bc859d0df36 100644 --- a/addons/sale/sale_security.xml +++ b/addons/sale/sale_security.xml @@ -1,18 +1,118 @@ - + Sale Manager Salesman - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mrp procurement + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Mrp procurement + + + + + + + + Sale Order @@ -22,7 +122,7 @@ - + Sale Order @@ -32,7 +132,7 @@ - + Sale Order @@ -42,7 +142,7 @@ - + Sale Order Line @@ -52,7 +152,7 @@ - + Sale Order Line @@ -62,7 +162,7 @@ - + Sale Order Line @@ -72,6 +172,6 @@ - +