[FIX] payment: access rights limitation
authorMartin Trigaux <mat@openerp.com>
Tue, 16 Sep 2014 13:27:56 +0000 (15:27 +0200)
committerMartin Trigaux <mat@openerp.com>
Tue, 16 Sep 2014 14:44:42 +0000 (16:44 +0200)
commitd99835ee9c5adcce99abe41363316b63cfb29404
tree5b926e714014173773e064322b1d7e100d697026
parent685fa26e83e6358fcaa786b6e0358bd8b1e155f3
[FIX] payment: access rights limitation

Do not allow everybody to access account.transactions.
Restrict by default to readonly and even restrict the access with a record rule, give access to salesman.
addons/payment/__openerp__.py
addons/payment/security/ir.model.access.csv
addons/payment/security/payment_security.xml [new file with mode: 0644]
addons/payment_paypal/models/paypal.py
addons/website_payment/__openerp__.py
addons/website_payment/payment_security.xml [new file with mode: 0644]