Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0046296 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2021-04-19 15:25 | 2021-04-20 13:50 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | marvintm | |||||||
Priority | high | Resolution | fixed | Fixed in Version | RR21Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
Review Assigned To | ||||||||
OBNetwork customer | Gold | |||||||
Support ticket | 23353 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0046296: error accessing to POS if user have got access to more than one store and default org is other store | |||||||
Description | when the user has got access to more of one store, and the defaults in the user configuration are done for store 1, it is not possible to access to store 2, this error is returned Error returned: The user doesn't have permission to access this terminal. The organization of the user doesn't belong to the natural organization tree of the terminal | |||||||
Steps To Reproduce | . in live: BO: window: user -record: vallblanca -tab: role: -add record VallBoiUser -tab: header: - Default Role: ValBoiUser - Default POS Role: ValBoiUser - Default Org: Vall BoĆ Store POS: - terminal: VBS-1 - do login with user vallblanca: error is returError returned: The user doesn't have permission to access this terminal. The organization of the user doesn't belong to the natural organization tree of the terminalneD: | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0127377) hgbot (developer) 2021-04-20 08:11 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/382 [^] |
(0127384) hgbot (developer) 2021-04-20 13:50 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/382 [^] |
(0127385) hgbot (developer) 2021-04-20 13:50 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: d54711301d5341a267957e04f0b7586cf5f22aef Author: Antonio Moreno <anmorenoperez@gmail.com> Date: 2021-04-20T08:10:05+02:00 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/d54711301d5341a267957e04f0b7586cf5f22aef [^] Fixed issue 46296. If either defaultPosRole or defaultRole don't have access to the terminal organization, they will be considered invalid and will not be used to set the context. If both are invalid, a proper role will be found automatically by the existing POSLoginHandlerLogic. Additionally, fixed an existing problem to ensure that the distance returned by the getDistanceToStoreOrganizationForCertainRole method is actually -1 and not 1 when there is no access to the organization of the specified terminal. --- M src/org/openbravo/retail/posterminal/POSLoginHandler.java --- |
![]() |
|||
Date Modified | Username | Field | Change |
2021-04-19 15:25 | malsasua | New Issue | |
2021-04-19 15:25 | malsasua | Assigned To | => Retail |
2021-04-19 15:25 | malsasua | File Added: 1.png | |
2021-04-19 15:25 | malsasua | OBNetwork customer | => Gold |
2021-04-19 15:25 | malsasua | Support ticket | => 23353 |
2021-04-19 15:25 | malsasua | Resolution time | => 1619388000 |
2021-04-19 15:25 | malsasua | Triggers an Emergency Pack | => No |
2021-04-20 08:11 | hgbot | Merge Request Status | => open |
2021-04-20 08:11 | hgbot | Note Added: 0127377 | |
2021-04-20 08:14 | marvintm | Assigned To | Retail => marvintm |
2021-04-20 08:14 | marvintm | Status | new => scheduled |
2021-04-20 10:50 | maite | Issue Monitored: maite | |
2021-04-20 12:56 | hgbot | Merge Request Status | open => approved |
2021-04-20 13:50 | hgbot | Resolution | open => fixed |
2021-04-20 13:50 | hgbot | Status | scheduled => closed |
2021-04-20 13:50 | hgbot | Note Added: 0127384 | |
2021-04-20 13:50 | hgbot | Fixed in Version | => RR21Q3 |
2021-04-20 13:50 | hgbot | Note Added: 0127385 | |
2023-02-23 10:26 | ranjith_qualiantech_com | Relationship added | has duplicate 0051573 |
Copyright © 2000 - 2009 MantisBT Group |