Browse Source

[IMP] review ir model access rules

pull/33/head
robin.keunen 5 years ago
parent
commit
61cf0a032b
  1. 28
      easy_my_coop/security/ir.model.access.csv
  2. 8
      easy_my_coop_document/security/ir.model.access.csv
  3. 4
      easy_my_coop_loan/security/ir.model.access.csv

28
easy_my_coop/security/ir.model.access.csv

@ -1,19 +1,15 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_subscription_request,subscription.request,model_subscription_request,group_easy_my_coop_manager,1,1,1,0
access_res_partner,res.partner,model_res_partner,group_easy_my_coop_manager,1,1,1,0
access_share_line_employee,share.line,model_share_line,base.group_user,1,0,0,0
access_subscription_request_employee,access.subscription.request user,model_subscription_request,base.group_user,1,0,0,0
access_share_line_manager,share.line,model_share_line,group_easy_my_coop_manager,1,1,1,0
access_account_invoice,account.invoice,model_account_invoice,group_easy_my_coop_manager,1,1,1,0
access_subscription_register,subscription_register,model_subscription_register,group_easy_my_coop_manager,1,1,1,0
access_account_invoice_super_manager,account.invoice,model_account_invoice,group_easy_my_coop_super_manager,1,1,1,1
access_share_line_super_manager,share.line,model_share_line,group_easy_my_coop_super_manager,1,1,1,1
access_subscription_register_super_manager,subscription_register,model_subscription_register,group_easy_my_coop_super_manager,1,1,1,1
access_subscription_request_super_manager,subscription.request,model_subscription_request,group_easy_my_coop_super_manager,1,1,1,1
access_operation_request,operation.request,model_operation_request,group_easy_my_coop_manager,1,1,1,0
access_operation_request_super_manager,operation.request,model_operation_request,group_easy_my_coop_super_manager,1,1,1,1
access_product_product_user,product.product,product.model_product_product,group_easy_my_coop_user,1,1,1,0
access_product_product_user,product.product,product.model_product_product,group_easy_my_coop_user,1,1,0,0
access_product_product_manager,product.product,product.model_product_product,group_easy_my_coop_manager,1,1,1,1 access_product_product_manager,product.product,product.model_product_product,group_easy_my_coop_manager,1,1,1,1
access_product_template_user,product.template,product.model_product_template,group_easy_my_coop_user,1,1,1,0
access_product_template_user,product.template,product.model_product_template,group_easy_my_coop_user,1,1,0,0
access_product_template_manager,product.template,product.model_product_template,group_easy_my_coop_manager,1,1,1,1 access_product_template_manager,product.template,product.model_product_template,group_easy_my_coop_manager,1,1,1,1
"",,,,,,,
access_subscription_request_employee,access.subscription.request user,model_subscription_request,base.group_user,1,0,0,0
access_subscription_request_manager,subscription.request,model_subscription_request,group_easy_my_coop_manager,1,1,1,1
access_subscription_request,subscription.request,model_subscription_request,group_easy_my_coop_user,1,1,1,0
access_share_line_employee,share.line,model_share_line,base.group_user,1,0,0,0
access_share_line_manager,share.line,model_share_line,group_easy_my_coop_user,1,1,1,0
access_res_partner,res.partner,model_res_partner,group_easy_my_coop_user,1,1,1,0
access_account_invoice,account.invoice,model_account_invoice,group_easy_my_coop_user,1,1,1,0
access_subscription_register,subscription_register,model_subscription_register,group_easy_my_coop_user,1,1,1,0
access_operation_request,operation.request,model_operation_request,group_easy_my_coop_user,1,1,1,0
access_operation_request_manager,operation.request,model_operation_request,group_easy_my_coop_manager,1,1,1,1

8
easy_my_coop_document/security/ir.model.access.csv

@ -1,5 +1,5 @@
id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink id,name,model_id/id,group_id/id,perm_read,perm_write,perm_create,perm_unlink
access_easy_my_coop_document,access_easy_my_coop_document,model_easy_my_coop_document,,1,0,0,0
access_easy_my_coop_document_category,access_easy_my_coop_document_category,model_easy_my_coop_document_category,,1,0,0,0
access_easy_my_coop_document_user_group,access_easy_my_coop_document,model_easy_my_coop_document,base.group_user,1,1,1,1
access_easy_my_coop_document_category_user_group,access_easy_my_coop_document_category,model_easy_my_coop_document_category,base.group_user,1,1,1,1
access_easy_my_coop_document_user_group,access_easy_my_coop_document,model_easy_my_coop_document,base.group_user,1,0,0,0
access_easy_my_coop_document_category_user_group,access_easy_my_coop_document_category,model_easy_my_coop_document_category,base.group_user,1,0,0,0
access_easy_my_coop_document_manager,access_easy_my_coop_document,model_easy_my_coop_document,,1,1,1,1
access_easy_my_coop_document_category_manager,access_easy_my_coop_document_category,model_easy_my_coop_document_category,,1,1,1,1

4
easy_my_coop_loan/security/ir.model.access.csv

@ -2,6 +2,6 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_loan_issue_user,loan.issue,model_loan_issue,base.group_user,1,0,0,0 access_loan_issue_user,loan.issue,model_loan_issue,base.group_user,1,0,0,0
access_loan_issue_manager,loan.issue,model_loan_issue,easy_my_coop.group_easy_my_coop_manager,1,1,1,0 access_loan_issue_manager,loan.issue,model_loan_issue,easy_my_coop.group_easy_my_coop_manager,1,1,1,0
access_loan_issue_line_user,loan.issue.line,model_loan_issue_line,base.group_user,1,0,0,0 access_loan_issue_line_user,loan.issue.line,model_loan_issue_line,base.group_user,1,0,0,0
access_loan_issue_line_manager,loan.issue.line,model_loan_issue_line,easy_my_coop.group_easy_my_coop_manager,1,1,1,0
access_loan_issue_line_manager,loan.issue.line,model_loan_issue_line,easy_my_coop.group_easy_my_coop_user,1,1,1,0
access_loan_interest_line_user,loan.interest.line,model_loan_interest_line,base.group_user,1,0,0,0 access_loan_interest_line_user,loan.interest.line,model_loan_interest_line,base.group_user,1,0,0,0
access_loan_interest_line_manager,loan.interest.line,model_loan_interest_line,easy_my_coop.group_easy_my_coop_manager,1,1,1,1
access_loan_interest_line_manager,loan.interest.line,model_loan_interest_line,easy_my_coop.group_easy_my_coop_manager,1,1,1,0
Loading…
Cancel
Save