Openbravo Issue Tracking System - Retail Modules
View Issue Details
0031913Retail ModulesWeb POSpublic2016-01-15 14:072016-02-29 09:39
malsasua 
jorge-garcia 
highmajoralways
closedfixed 
20Community Appliance
 
RR16Q2 
marvintm
No
0031913: 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.
depends on backport 0032124RR16Q1 closed jorge-garcia link physical device does not work when the role has not got permission to Terminal window 
Issue History
2016-01-15 14:07malsasuaNew Issue
2016-01-15 14:07malsasuaAssigned To => Retail
2016-01-15 14:07malsasuaResolution time => 1456614000
2016-01-15 14:07malsasuaTriggers an Emergency Pack => No
2016-01-15 14:25heccamIssue Monitored: heccam
2016-01-15 18:56guilleaerStatusnew => acknowledged
2016-02-04 12:35jorge-garciaStatusacknowledged => scheduled
2016-02-04 12:35jorge-garciaAssigned ToRetail => jorge-garcia
2016-02-04 13:42jorge-garciaStatusscheduled => acknowledged
2016-02-04 13:42jorge-garciaStatusacknowledged => scheduled
2016-02-11 13:15hgbotCheckin
2016-02-11 13:15hgbotNote Added: 0084101
2016-02-11 13:15hgbotStatusscheduled => resolved
2016-02-11 13:15hgbotResolutionopen => fixed
2016-02-11 13:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3c0d57b3205a27f2caa1e08a56f3574deafe9a59 [^]
2016-02-11 13:16hgbotCheckin
2016-02-11 13:16hgbotNote Added: 0084102
2016-02-15 16:09hgbotCheckin
2016-02-15 16:09hgbotNote Added: 0084202
2016-02-26 10:08dmitry_mezentsevNote Added: 0084558
2016-02-29 09:39marvintmReview Assigned To => marvintm
2016-02-29 09:39marvintmStatusresolved => closed
2016-02-29 09:39marvintmFixed in Version => RR16Q2

Notes
(0084101)
hgbot   
2016-02-11 13:15   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: 3c0d57b3205a27f2caa1e08a56f3574deafe9a59
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Thu Feb 04 13:45:54 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3c0d57b3205a27f2caa1e08a56f3574deafe9a59 [^]

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

If a user doesn't have permission to the Terminal window and the terminal
authentication is active, when the user log in the WEB POS, a error is shown
in the openbravo log.

The solution is to grant access.

---
M src/org/openbravo/retail/posterminal/CheckTerminalAuth.java
---
(0084102)
hgbot   
2016-02-11 13:16   
Repository: tools/automation/pi-mobile
Changeset: 7a2ccf94c2f20587e57f6d30fb1b6ecf03a7686b
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Wed Feb 10 15:33:06 2016 +0100
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/7a2ccf94c2f20587e57f6d30fb1b6ecf03a7686b [^]

Verifies issue 31913: link physical device does not work when the role has not
got permission to Terminal window

Added test TerminalAuthUserWithoutTerminalAccess

---
A src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/loginout/TerminalAuthUserWithoutTerminalAccess.java
---
(0084202)
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
---
(0084558)
dmitry_mezentsev   
2016-02-26 10:08   
Not closed for 15 days!