Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033730Retail ModulesWeb POSpublic2016-08-17 15:422016-09-02 10:57
adrianromero 
mario_castello 
urgentmajoralways
closedfixed 
5
 
 
migueldejuana
No
0033730: [SER QA 1568] Error trying to change role in Web POS
Trying to change the the role of a user in web pos if the new user does not have permissions to the terminal an error saying the context information has changed and loggin out.


The technical retail issue is that this situation is not properly managed, if the Cashier role cannot access to the terminal then it should not appear in the selection list, or other solution is to show a good message informing the situation and manage it
Configure one user the following way:

One Web POS user is logged in terminal T1 of the ORG1 organization with the ROLE1 role that has access to the ORG1 organization. Assign a new role to the user ROLE2 but without access to ORG1

Login in web pos with this user in terminal T1, go to Edit Profile and select ROLE2. Click apply and verify an error saying the context information has changed appears. (Screenshot attached).
SER-QA
related to defect 0033710pi closed Osmany It is not possible change the role that is not within our client in WebPOS 
png Captura de pantalla de 2016-08-17 15:35:37.png (161,285) 2016-08-17 15:43
https://issues.openbravo.com/file_download.php?file_id=9725&type=bug
png
Issue History
2016-08-17 15:42adrianromeroNew Issue
2016-08-17 15:42adrianromeroAssigned To => Retail
2016-08-17 15:42adrianromeroResolution time => 1471989600
2016-08-17 15:42adrianromeroTriggers an Emergency Pack => No
2016-08-17 15:43adrianromeroFile Added: Captura de pantalla de 2016-08-17 15:35:37.png
2016-08-17 15:43adrianromeroRelationship addedrelated to 0033710
2016-08-18 08:24VictorVillarResolution time1471989600 => 1472680800
2016-08-18 08:24VictorVillarPrioritynormal => urgent
2016-08-18 08:24VictorVillarReproducibilityhave not tried => always
2016-08-18 08:24VictorVillarSummaryError trying to change role in Web POS => [SER QA 1568] Error trying to change role in Web POS
2016-08-18 08:25VictorVillarTag Attached: SER-QA
2016-08-19 18:09mario_castelloAssigned ToRetail => mario_castello
2016-08-19 18:10mario_castelloStatusnew => acknowledged
2016-08-26 01:55hgbotCheckin
2016-08-26 01:55hgbotNote Added: 0089420
2016-08-26 01:55hgbotStatusacknowledged => resolved
2016-08-26 01:55hgbotResolutionopen => fixed
2016-08-26 01:55hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5d4b82d17abe3657bdf393635308a2cbdd984241 [^]
2016-08-26 02:01hgbotCheckin
2016-08-26 02:01hgbotNote Added: 0089421
2016-09-02 10:57migueldejuanaReview Assigned To => migueldejuana
2016-09-02 10:57migueldejuanaNote Added: 0089693
2016-09-02 10:57migueldejuanaStatusresolved => closed

Notes
(0089420)
hgbot   
2016-08-26 01:55   
Repository: erp/pmods/org.openbravo.mobile.core
Changeset: 5d4b82d17abe3657bdf393635308a2cbdd984241
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Wed Aug 24 13:28:03 2016 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5d4b82d17abe3657bdf393635308a2cbdd984241 [^]

Fixed issue 33730: Added hql filter to load the roles that have access in current organization

---
M src/org/openbravo/mobile/core/login/ProfileUtils.java
---
(0089421)
hgbot   
2016-08-26 02:01   
Repository: tools/automation/pi-mobile
Changeset: 1d35da3ef407c3eb8a4da64bbe0da7d067f51bef
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Thu Aug 25 18:01:22 2016 -0600
URL: http://code.openbravo.com/tools/automation/pi-mobile/rev/1d35da3ef407c3eb8a4da64bbe0da7d067f51bef [^]

Related to issue 33730: Added automated test

---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/TestIdPack.java
A src-test/org/openbravo/test/mobile/quarantine/pack/MCA/receipts/I33730_VerifyRoleOrgAccess.java
---
(0089693)
migueldejuana   
2016-09-02 10:57   
Tested and reviewed