Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033730
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2016-08-17 15:422016-09-02 10:57
ReporteradrianromeroView Statuspublic 
Assigned Tomario_castello 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision5d4b82d17abe
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomigueldejuana
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033730: [SER QA 1568] Error trying to change role in Web POS

DescriptionTrying 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
Steps To ReproduceConfigure 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).
TagsSER-QA
Attached Filespng file icon Captura de pantalla de 2016-08-17 15:35:37.png [^] (161,285 bytes) 2016-08-17 15:43

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0033710pi closedOsmany It is not possible change the role that is not within our client in WebPOS 

-  Notes
(0089420)
hgbot (developer)
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 (developer)
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 (developer)
2016-09-02 10:57

Tested and reviewed

- Issue History
Date Modified Username Field Change
2016-08-17 15:42 adrianromero New Issue
2016-08-17 15:42 adrianromero Assigned To => Retail
2016-08-17 15:42 adrianromero Resolution time => 1471989600
2016-08-17 15:42 adrianromero Triggers an Emergency Pack => No
2016-08-17 15:43 adrianromero File Added: Captura de pantalla de 2016-08-17 15:35:37.png
2016-08-17 15:43 adrianromero Relationship added related to 0033710
2016-08-18 08:24 VictorVillar Resolution time 1471989600 => 1472680800
2016-08-18 08:24 VictorVillar Priority normal => urgent
2016-08-18 08:24 VictorVillar Reproducibility have not tried => always
2016-08-18 08:24 VictorVillar Summary Error trying to change role in Web POS => [SER QA 1568] Error trying to change role in Web POS
2016-08-18 08:25 VictorVillar Tag Attached: SER-QA
2016-08-19 18:09 mario_castello Assigned To Retail => mario_castello
2016-08-19 18:10 mario_castello Status new => acknowledged
2016-08-26 01:55 hgbot Checkin
2016-08-26 01:55 hgbot Note Added: 0089420
2016-08-26 01:55 hgbot Status acknowledged => resolved
2016-08-26 01:55 hgbot Resolution open => fixed
2016-08-26 01:55 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/5d4b82d17abe3657bdf393635308a2cbdd984241 [^]
2016-08-26 02:01 hgbot Checkin
2016-08-26 02:01 hgbot Note Added: 0089421
2016-09-02 10:57 migueldejuana Review Assigned To => migueldejuana
2016-09-02 10:57 migueldejuana Note Added: 0089693
2016-09-02 10:57 migueldejuana Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker