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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0040791
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 revision0ec858b516d0
ProjectionnoneETAnoneTarget VersionRR19Q1.1
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

0040791: 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
(0111520)
hgbot (developer)
2019-05-07 08:34

Repository: erp/backports/3.0PR19Q1.1
Changeset: 0ec858b516d0d07eef998de3cf0ccea10d455f4a
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 06 16:46:57 2019 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR19Q1.1/rev/0ec858b516d0d07eef998de3cf0ccea10d455f4a [^]

Fixed issue 40791: 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
---
(0111521)
hgbot (developer)
2019-05-07 08:34

Repository: retail/backports/3.0RR19Q1.1/org.openbravo.mobile.core
Changeset: 074c2ad55b6043541a3ed9377867f7491ceb3d64
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon May 06 16:50:27 2019 +0200
URL: http://code.openbravo.com/retail/backports/3.0RR19Q1.1/org.openbravo.mobile.core/rev/074c2ad55b6043541a3ed9377867f7491ceb3d64 [^]

Related to issue 40791: 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 => RR19Q1.2
2019-05-06 17:09 jorge-garcia Assigned To alostale => jorge-garcia
2019-05-07 08:34 hgbot Checkin
2019-05-07 08:34 hgbot Note Added: 0111520
2019-05-07 08:34 hgbot Status scheduled => resolved
2019-05-07 08:34 hgbot Resolution open => fixed
2019-05-07 08:34 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q1.1/rev/0ec858b516d0d07eef998de3cf0ccea10d455f4a [^]
2019-05-07 08:34 hgbot Checkin
2019-05-07 08:34 hgbot Note Added: 0111521
2019-05-07 08:35 jorge-garcia Target Version RR19Q1.2 => RR19Q1.1
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