diff options
| author | Pierre Masereel <pim@odoo.com> | 2019-06-28 13:59:48 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2019-07-01 14:58:44 +0000 |
| commit | f72a0163891efa876d3b21c181d02c7be992ceb1 (patch) | |
| tree | 3cf1c29e0183e47bf03e125eec8a5275381b2071 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | c78960de887892962d29ecff59b00e4349f35fcb (diff) | |
[FIX] pos_hr: barcode and pin code access rights
Since groups added on fields 'barcode' and 'pin' on hr employee in
rev: c9ca3761464413327d2beb697553a3ccd7eef4d1
It is not possible anymore to launch the POS when 'pos_hr' module is
installed. Because we don't want to allow users to access in read on all
pin codes and barcodes of employees. We've made a function that will get
a sha1 signature of the barcode and pin code of all employees to store
it in the frontend of POS.
We don't have other solutions concerning the security if we want to keep
the POS working offline. We also know that it is not brute force proof,
as pin code are composed of only digits and you can easily generate the
signatures of all pincodes.
closes odoo/odoo#34447
Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
