Files
odoo_source/addons/payment/security/ir.model.access.csv
T
Horacio Tellez 2b1e2abda3 [IMP] payment,*: restrict access to payment.transaction records
Since 15.0, it is no longer possible to have partnerless transactions.
Nonetheless, migrated databases could contain transactions without a
`partner_id` set.
This commit cleans existing rules to make those transactions are not
accessible to unwanted users.

We take the opportunity to clean the security of payment.transaction
records globally.
Now only admin and accounting users have access to payment.transaction
records. The code of different applications has been adapted accordingly.

Task - 3102824

closes odoo/odoo#113515

Related: odoo/upgrade#4564
Related: odoo/enterprise#40939
Signed-off-by: Masereel Pierre <pim@odoo.com>
2023-05-15 15:07:13 +02:00

945 B

1idnamemodel_id:idgroup_id:idperm_readperm_writeperm_createperm_unlink
2access_payment_link_wizardaccess_payment_link_wizardpayment.model_payment_link_wizardbase.group_user0000
3payment_capture_wizard_userpayment.capture.wizardmodel_payment_capture_wizardbase.group_user1110
4payment_provider_onboarding_wizardpayment.provider.onboarding.wizardmodel_payment_provider_onboarding_wizardbase.group_system1110
5payment_provider_systempayment.provider.systemmodel_payment_providerbase.group_system1111
6payment_method_allpayment.method.allmodel_payment_method1000
7payment_method_systempayment.method.systemmodel_payment_methodbase.group_system1111
8payment_token_allpayment.token.allmodel_payment_token1000
9payment_token_systempayment.token.systemmodel_payment_tokenbase.group_system1111
10payment_transaction_systempayment.transaction.systemmodel_payment_transactionbase.group_system1111