Openbravo Issue Tracking System - Retail Modules
View Issue Details
0032124Retail ModulesWeb POSpublic2016-01-15 14:072016-03-03 11:56
malsasua 
jorge-garcia 
highmajoralways
closedfixed 
20Community Appliance
 
RR16Q1RR16Q1 
marvintm
No
0032124: link physical device does not work when the role has not got permission to Terminal window
when the role related with the user has not got permission to POS Terminal window, you can do login in the same terminal from two distinct devices
. go to backoffice
  create new preference: Terminal Authentication Enabled -> value: Y
  go to rol "vall blanca user"
    manual: Y
    go to tab window:
      remove the record: POS Terminal
  go to POS Terminal window: record: VBS
     terminal key identified: 111

. go to webpos
  do login with vallblanca user and terminal VBS-1
login is done

. go to webpos in other chrome session
  do login with vallblanca user and terminal VBS-1
login is done

and error is returned in openbravo.log

ERROR org.openbravo.retail.posterminal.CheckTerminalAuth - There was an error Checking Terminal Authentication:
org.openbravo.base.exception.OBSecurityException: Entity OBPOS_Applications is not directly readable, only id and identifier properties are readable, property OBPOS_Applications.islinked is neither of these.
No tags attached.
blocks defect 0031913 closed jorge-garcia link physical device does not work when the role has not got permission to Terminal window 
Issue History
2016-02-04 13:42jorge-garciaTypedefect => backport
2016-02-04 13:42jorge-garciaTarget Version => RR16Q1
2016-02-15 16:09hgbotCheckin
2016-02-15 16:09hgbotNote Added: 0084203
2016-02-15 16:09hgbotStatusscheduled => resolved
2016-02-15 16:09hgbotResolutionopen => fixed
2016-02-15 16:09hgbotFixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/260af0f6b76e80a73d19af8eb30346a84d999b16 [^]
2016-03-03 11:56marvintmReview Assigned To => marvintm
2016-03-03 11:56marvintmStatusresolved => closed
2016-03-03 11:56marvintmFixed in Version => RR16Q1

Notes
(0084203)
hgbot   
2016-02-15 16:09   
Repository: retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal
Changeset: 260af0f6b76e80a73d19af8eb30346a84d999b16
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Feb 12 15:27:36 2016 -0600
URL: http://code.openbravo.com/retail/backports/3.0RR16Q1/org.openbravo.retail.posterminal/rev/260af0f6b76e80a73d19af8eb30346a84d999b16 [^]

Fixed issue 0032124 backport of issue 31913: link physical device does not work when the role has not got permission to Terminal window

---
M src/org/openbravo/retail/posterminal/CheckTerminalAuth.java
---