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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040790
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2019-05-06 11:152019-05-07 08:45
ReporterjavietxeView Statuspublic 
Assigned Tojorge-garcia 
PriorityimmediateResolutionfixedFixed in VersionRR19Q1.1
StatusclosedFix in branchFixed in SCM revision576a9489a3d5
ProjectionnoneETAnoneTarget VersionRR19Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression levelProduction - QA Approved
Regression date2018-12-14
Regression introduced in releaseRR19Q1
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/925d93d4e8971f34caf04cd2cad44223fa74bf3c [^]
Triggers an Emergency PackNo
Summary

0040790: User roles requires backend access to login in WebPOS

DescriptionIf the Role is marked with the configuration "Restrict backend access", when trying to login to the POS, the login is refused.

The error shown is:

Access Restricted This user doesn't have access to the backend. To be able to access Openbravo, a user needs a role with access to the backend.

See attached picture.
Steps To Reproduce- Configure the user role to do login as "Restrict backend access"
- Try to login in the POS with a user of the previously configured role.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0040787 closedalostale User roles requires backend access to login in WebPOS 

-  Notes
(0111512)
hgbot (developer)
2019-05-06 17:23

Repository: erp/backports/3.0PR19Q2
Changeset: 576a9489a3d5ac7daa8a2f36a2faefe68cee3c9b
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 06 16:53:40 2019 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR19Q2/rev/576a9489a3d5ac7daa8a2f36a2faefe68cee3c9b [^]

Fixed issue 40790: Roles require back-office access to log in to mobile apps

MobileLoginHandler does a back-office login to later select mobile default role,
it expects back-office to fail and keep session in case of restricted role login
attempt.

Back-office login handler was changed to fail and remove session in case there is
no back-office role in current user's list. This made not possible to log in to
mobile apps.

Now if logging in to a mobile application session is kept after failure as it was
before.

---
M src/org/openbravo/base/secureApp/LoginHandler.java
---
(0111513)
hgbot (developer)
2019-05-06 17:23

Repository: retail/backports/3.0RR19Q2/org.openbravo.mobile.core
Changeset: cdce691d9c7de1397f4c4923b170f2a9fe9107c4
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 06 16:53:09 2019 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR19Q2/org.openbravo.mobile.core/rev/cdce691d9c7de1397f4c4923b170f2a9fe9107c4 [^]

Related to issue 40790: Define mobile applications in login handler

---
M src/org/openbravo/mobile/core/login/MobileCoreLoginHandler.java
---

- Issue History
Date Modified Username Field Change
2019-05-06 15:44 alostale Type defect => backport
2019-05-06 15:44 alostale Target Version => RR19Q2
2019-05-06 17:09 jorge-garcia Assigned To alostale => jorge-garcia
2019-05-06 17:23 hgbot Checkin
2019-05-06 17:23 hgbot Note Added: 0111512
2019-05-06 17:23 hgbot Status scheduled => resolved
2019-05-06 17:23 hgbot Resolution open => fixed
2019-05-06 17:23 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q2/rev/576a9489a3d5ac7daa8a2f36a2faefe68cee3c9b [^]
2019-05-06 17:23 hgbot Checkin
2019-05-06 17:23 hgbot Note Added: 0111513
2019-05-07 08:45 marvintm Review Assigned To => marvintm
2019-05-07 08:45 marvintm Status resolved => closed
2019-05-07 08:45 marvintm Fixed in Version => RR19Q1.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker