[IMP] account_*: Add access rules for objects

bzr revid: psi@tinyerp.co.in-20100622120239-47am8qutea8fuxxi
This commit is contained in:
psi (Open ERP) 2010-06-22 17:32:39 +05:30
parent 7499f9039c
commit 9c5ed7e651
8 changed files with 27 additions and 6 deletions

View File

@ -4,5 +4,9 @@
"access_account_analytic_plan_instance","account.analytic.plan.instance","model_account_analytic_plan_instance","account.group_account_user",1,1,1,1
"access_account_analytic_plan_instance_line","account.analytic.plan.instance.line","model_account_analytic_plan_instance_line","account.group_account_user",1,1,1,1
"access_account_analytic_plan_line_invoice","account.analytic.plan.line.invoice","model_account_analytic_plan_line","account.group_account_user",1,1,1,1
"access_account_analytic_plan_create_model","access.account.analytic.plan.create.model","model_analytic_plan_create_model","account.group_account_user",1,1,1,1
"access_account_crossovered_analytic","access.account.crossovered.analytic","model_account_crossovered_analytic","account.group_account_user",1,1,1,1
"access_account_analytic_plan_instance_manager","account.analytic.plan.instance manager","model_account_analytic_plan_instance","account.group_account_manager",1,1,1,1
"access_account_analytic_plan_instance_line_manager","account.analytic.plan.instance.line manager","model_account_analytic_plan_instance_line","account.group_account_manager",1,1,1,1
"access_account_analytic_plan_create_model_manager","access.account.analytic.plan.create.mode.manager","model_analytic_plan_create_model","account.group_account_manager",1,1,1,1
"access_account_crossovered_analytic_manager","access.account.crossovered.analytic.manageraccess.account.crossovered.analytic.manager","model_account_crossovered_analytic","account.group_account_manager",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
4 access_account_analytic_plan_instance account.analytic.plan.instance model_account_analytic_plan_instance account.group_account_user 1 1 1 1
5 access_account_analytic_plan_instance_line account.analytic.plan.instance.line model_account_analytic_plan_instance_line account.group_account_user 1 1 1 1
6 access_account_analytic_plan_line_invoice account.analytic.plan.line.invoice model_account_analytic_plan_line account.group_account_user 1 1 1 1
7 access_account_analytic_plan_create_model access.account.analytic.plan.create.model model_analytic_plan_create_model account.group_account_user 1 1 1 1
8 access_account_crossovered_analytic access.account.crossovered.analytic model_account_crossovered_analytic account.group_account_user 1 1 1 1
9 access_account_analytic_plan_instance_manager account.analytic.plan.instance manager model_account_analytic_plan_instance account.group_account_manager 1 1 1 1
10 access_account_analytic_plan_instance_line_manager account.analytic.plan.instance.line manager model_account_analytic_plan_instance_line account.group_account_manager 1 1 1 1
11 access_account_analytic_plan_create_model_manager access.account.analytic.plan.create.mode.manager model_analytic_plan_create_model account.group_account_manager 1 1 1 1
12 access_account_crossovered_analytic_manager access.account.crossovered.analytic.manageraccess.account.crossovered.analytic.manager model_account_crossovered_analytic account.group_account_manager 1 1 1 1

View File

@ -3,3 +3,8 @@
"access_crossovered_budget_lines","crossovered.budget.lines","model_crossovered_budget_lines","account.group_account_manager",1,1,1,1
"access_account_budget_post","account.budget.post","model_account_budget_post","account.group_account_manager",1,1,1,1
"access_account_budget_post_dotation","account.budget.post.dotation","model_account_budget_post_dotation","account.group_account_manager",1,1,1,1
"access_account_budget_crossvered_report","account.budget.crossvered.report","model_account_budget_crossvered_report","account.group_account_manager",1,1,1,1
"access_account_budget_analytic","account.budget.analytic","model_account_budget_analytic","account.group_account_manager",1,1,1,1
"access_account_budget_crossvered_summary_report","account.budget.crossvered.summary.report","model_account_budget_crossvered_summary_report","account.group_account_manager",1,1,1,1
"access_account_budget_spread","account.budget.spread","model_account_budget_spread","account.group_account_manager",1,1,1,1
"access_account_budget_report","account.budget.report","model_account_budget_report","account.group_account_manager",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
3 access_crossovered_budget_lines crossovered.budget.lines model_crossovered_budget_lines account.group_account_manager 1 1 1 1
4 access_account_budget_post account.budget.post model_account_budget_post account.group_account_manager 1 1 1 1
5 access_account_budget_post_dotation account.budget.post.dotation model_account_budget_post_dotation account.group_account_manager 1 1 1 1
6 access_account_budget_crossvered_report account.budget.crossvered.report model_account_budget_crossvered_report account.group_account_manager 1 1 1 1
7 access_account_budget_analytic account.budget.analytic model_account_budget_analytic account.group_account_manager 1 1 1 1
8 access_account_budget_crossvered_summary_report account.budget.crossvered.summary.report model_account_budget_crossvered_summary_report account.group_account_manager 1 1 1 1
9 access_account_budget_spread account.budget.spread model_account_budget_spread account.group_account_manager 1 1 1 1
10 access_account_budget_report account.budget.report model_account_budget_report account.group_account_manager 1 1 1 1

View File

@ -2,6 +2,10 @@
"access_account_followup_stat","account_followup.stat","model_account_followup_stat","account.group_account_user",1,0,0,0
"access_account_followup_followup","account_followup.followup","model_account_followup_followup","account.group_account_user",1,0,0,0
"access_account_followup_followup_line","account_followup.followup.line","model_account_followup_followup_line","account.group_account_user",1,0,0,0
"access_account_followup_print","account_followup.print","model_account_followup_print","account.group_account_user",1,0,0,0
"access_account_followup_print_all","account_followup.print.all","model_account_followup_print_all","account.group_account_user",1,0,0,0
"access_account_followup_stat_manager","account_followup.stat.manager","model_account_followup_stat","account.group_account_manager",1,1,1,1
"access_account_followup_followup_manager","account_followup.followup.manager","model_account_followup_followup","account.group_account_manager",1,1,1,1
"access_account_followup_followup_line_manager","account_followup.followup.line.manager","model_account_followup_followup_line","account.group_account_manager",1,1,1,1
"access_account_followup_print_manager","account_followup.print.manager","model_account_followup_print","account.group_account_manager",1,1,1,1
"access_account_followup_print_all_manager","account_followup.print.all.manager","model_account_followup_print_all","account.group_account_manager",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_account_followup_stat account_followup.stat model_account_followup_stat account.group_account_user 1 0 0 0
3 access_account_followup_followup account_followup.followup model_account_followup_followup account.group_account_user 1 0 0 0
4 access_account_followup_followup_line account_followup.followup.line model_account_followup_followup_line account.group_account_user 1 0 0 0
5 access_account_followup_print account_followup.print model_account_followup_print account.group_account_user 1 0 0 0
6 access_account_followup_print_all account_followup.print.all model_account_followup_print_all account.group_account_user 1 0 0 0
7 access_account_followup_stat_manager account_followup.stat.manager model_account_followup_stat account.group_account_manager 1 1 1 1
8 access_account_followup_followup_manager account_followup.followup.manager model_account_followup_followup account.group_account_manager 1 1 1 1
9 access_account_followup_followup_line_manager account_followup.followup.line.manager model_account_followup_followup_line account.group_account_manager 1 1 1 1
10 access_account_followup_print_manager account_followup.print.manager model_account_followup_print account.group_account_manager 1 1 1 1
11 access_account_followup_print_all_manager account_followup.print.all.manager model_account_followup_print_all account.group_account_manager 1 1 1 1

View File

@ -1,2 +1,3 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_notify_message,notify.message,model_notify_message,account.group_account_invoice,1,1,1,1
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_notify_message","notify.message","model_notify_message","account.group_account_invoice",1,1,1,1
"access_account_invoice_special_msg","account.invoice.special.msg","model_account_invoice_special_msg","account.group_account_invoice",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_notify_message notify.message model_notify_message account.group_account_invoice 1 1 1 1
3 access_account_invoice_special_msg account.invoice.special.msg model_account_invoice_special_msg account.group_account_invoice 1 1 1 1

View File

@ -6,3 +6,6 @@
"access_account_journal_payement","account.journal payment","account.model_account_journal","group_account_payment",1,0,0,0
"access_account_invoice_payment","account.invoice payment","account.model_account_invoice","group_account_payment",1,0,0,0
"access_account_move_line_payment","account.move.line payment","account.model_account_move_line","group_account_payment",1,0,0,0
"access_payment_order_create","payment.order.create","model_payment_order_create","group_account_payment",1,1,1,1
"access_account_payment_populate_statement","account.payment.populate.statement","model_account_payment_populate_statement","group_account_payment",1,1,1,1
"access_account_payment_make_payment","account.payment.make.payment","model_account_payment_make_payment","group_account_payment",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
6 access_account_journal_payement account.journal payment account.model_account_journal group_account_payment 1 0 0 0
7 access_account_invoice_payment account.invoice payment account.model_account_invoice group_account_payment 1 0 0 0
8 access_account_move_line_payment account.move.line payment account.model_account_move_line group_account_payment 1 0 0 0
9 access_payment_order_create payment.order.create model_payment_order_create group_account_payment 1 1 1 1
10 access_account_payment_populate_statement account.payment.populate.statement model_account_payment_populate_statement group_account_payment 1 1 1 1
11 access_account_payment_make_payment account.payment.make.payment model_account_payment_make_payment group_account_payment 1 1 1 1

View File

@ -1,3 +1,5 @@
"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","account.group_account_manager",1,0,0,0
"access_account_report_history","account.report.history","model_account_report_history","account.group_account_manager",1,0,0,0
"access_account_report_print_indicators","account.report.print.indicators","model_account_report_print_indicators","account.group_account_manager",1,0,0,0
"access_account_report_print_indicators_with_pdf","account.report.print.indicators.with.pdf","model_account_report_print_indicators_with_pdf","account.group_account_manager",1,0,0,0

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_account_report_report account.report.report model_account_report_report account.group_account_manager 1 0 0 0
3 access_account_report_history account.report.history model_account_report_history account.group_account_manager 1 0 0 0
4 access_account_report_print_indicators account.report.print.indicators model_account_report_print_indicators account.group_account_manager 1 0 0 0
5 access_account_report_print_indicators_with_pdf account.report.print.indicators.with.pdf model_account_report_print_indicators_with_pdf account.group_account_manager 1 0 0 0

View File

@ -1,3 +1,4 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_color_rml,color.rml,model_color_rml,account.group_account_manager,1,1,1,1
access_account_report_bs,account.report.bs,model_account_report_bs,account.group_account_manager,1,1,1,1
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_color_rml","color.rml","model_color_rml","account.group_account_manager",1,1,1,1
"access_account_report_bs","account.report.bs","model_account_report_bs","account.group_account_manager",1,1,1,1
"access_account_reporting_balance_report","account.reporting.balance.report","model_account_reporting_balance_report","account.group_account_manager",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_color_rml color.rml model_color_rml account.group_account_manager 1 1 1 1
3 access_account_report_bs account.report.bs model_account_report_bs account.group_account_manager 1 1 1 1
4 access_account_reporting_balance_report account.reporting.balance.report model_account_reporting_balance_report account.group_account_manager 1 1 1 1

View File

@ -1,6 +1,7 @@
"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
"access_account_voucher_user","account.voucher","model_account_voucher","account.group_account_user",1,0,0,0
"access_account_voucher_line_user","account.voucher.line","model_account_voucher_line","account.group_account_user",1,0,0,0
"access_account_open_voucher_user","account.open.voucher","model_account_open_voucher","account.group_account_user",1,0,0,0
"access_account_voucher_manager","account.voucher","model_account_voucher","account.group_account_manager",1,1,1,1
"access_account_voucher_line_manager","account.voucher.line","model_account_voucher_line","account.group_account_manager",1,1,1,1
"access_account_open_voucher_manager","account.open.voucher","model_account_open_voucher","account.group_account_manager",1,1,1,1

1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_account_voucher_user account.voucher model_account_voucher account.group_account_user 1 0 0 0
3 access_account_voucher_line_user account.voucher.line model_account_voucher_line account.group_account_user 1 0 0 0
4 access_account_open_voucher_user account.open.voucher model_account_open_voucher account.group_account_user 1 0 0 0
5 access_account_voucher_manager account.voucher model_account_voucher account.group_account_manager 1 1 1 1
6 access_account_voucher_line_manager account.voucher.line model_account_voucher_line account.group_account_manager 1 1 1 1
7 access_account_open_voucher_manager account.open.voucher model_account_open_voucher account.group_account_manager 1 1 1 1