Openbravo Issue Tracking System - Retail Modules
View Issue Details
0028449Retail ModulesWeb POSpublic2014-12-18 12:422015-01-30 15:37
caristu 
mario_castello 
highminoralways
closedfixed 
5
 
RR15Q2RR15Q2 
mtaal
No
0028449: Default POS role field validation should take into account the roles assigned to the user
The validation of the "Default POS Role" in User window should take into account the roles assigned to the user.

Currently this validation is not taking into account this, therefore it is possible to assign a default role for a user that is not assigned to it, causing an error ("Unable to do login") when trying to access with this user.

This validation should take into account the roles assigned to the user, in the same way as the validation assigned to the "Default Role" field does.
1) Create two roles, A and B with access to WebPOS
2) In the [User Roles] tab, create a new record settin A in the role field
3) Go back to the header, notice that you can select either role A and B in the "Default POS Role" field. This is wrong. Only role A should be displayed.
4) If we set role B as "Default POS Role", we'll obtain the following error in WebPOS when trying to log-in: "Unable to do login"
No tags attached.
Issue History
2014-12-18 12:42caristuNew Issue
2014-12-18 12:42caristuAssigned To => marvintm
2014-12-18 12:42caristuResolution time => 1425423600
2014-12-18 12:42caristuTriggers an Emergency Pack => No
2014-12-18 12:42caristuIssue Monitored: networkb
2014-12-18 12:46caristuSummaryDefault Web POS role validation should take into account the roles assigned to the user => Default POS role field validation should take into account the roles assigned to the user
2015-01-15 19:40mario_castelloAssigned Tomarvintm => mario_castello
2015-01-15 19:40mario_castelloStatusnew => scheduled
2015-01-15 19:40mario_castellofix_in_branch => pi
2015-01-23 16:35hgbotCheckin
2015-01-23 16:35hgbotNote Added: 0073760
2015-01-23 16:35hgbotStatusscheduled => resolved
2015-01-23 16:35hgbotResolutionopen => fixed
2015-01-23 16:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f8b21f22fb3153ff9854c8940b15a62fd1ec3eac [^]
2015-01-30 15:37mtaalReview Assigned To => mtaal
2015-01-30 15:37mtaalNote Added: 0073953
2015-01-30 15:37mtaalStatusresolved => closed
2015-01-30 15:37mtaalFixed in Version => RR15Q2

Notes
(0073760)
hgbot   
2015-01-23 16:35   
Repository: erp/pmods/org.openbravo.retail.posterminal
Changeset: f8b21f22fb3153ff9854c8940b15a62fd1ec3eac
Author: Mario Castello <mario.castello <at> peoplewalking.com>
Date: Fri Jan 23 09:34:48 2015 -0600
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/f8b21f22fb3153ff9854c8940b15a62fd1ec3eac [^]

fixed issue 28449: Default POS role field validation should take into account the roles assigned to the user

---
M src-db/database/sourcedata/AD_VAL_RULE.xml
---
(0073953)
mtaal   
2015-01-30 15:37   
Reviewed and tested