Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0053796 | Openbravo ERP | A. Platform | public | 2023-10-30 13:35 | 2023-11-09 23:41 | |||||||
Reporter | ablasco | |||||||||||
Assigned To | AugustoMauch | |||||||||||
Priority | high | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | |||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | QA functional test | |||||||||||
Regression date | 2023-10-17 | |||||||||||
Regression introduced in release | main | |||||||||||
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/53376e56283d11e1f19363bcf79e53ab03d95639 [^] | |||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0053796: User cannot connect to POS if default role belong to another store | |||||||||||
Description | Login in POS2 should verify from backend different role access to login in the application. With Auto Roles, some modifications have been done related with which role should be selected base on username and password inserted in Login Form. A user can be associated with several user Roles with different types of access. A query is executed based on role, user and clientId to verify if the current user Organization belongs to the Organization Tree of the terminal. But the role selected to execute the query is not properly defined to provide access to login. | |||||||||||
Steps To Reproduce | In backend: - Log in - Open the User window - Select the vallblanca user - Give it access to the PosetsUser role in the User Roles tab - Modify the header, set PosetsUser as Default POS Role (in More Information field group) - Log out In POS2 - Try to log in with the vallblanca user to the VBS-2 Terminal. An error will be displayed: "Impossible to connect to another POS than the default organization" "The user doesn't have permission to access this terminal. The Organization of the userdoesn't belong to the natural organization tree of the terminal" | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2023-10-30 13:35 | ablasco | New Issue | ||||||||||
2023-10-30 13:35 | ablasco | Assigned To | => ablasco | |||||||||
2023-10-30 13:35 | ablasco | Modules | => Core | |||||||||
2023-10-30 13:35 | ablasco | Triggers an Emergency Pack | => No | |||||||||
2023-10-30 13:41 | AugustoMauch | Regression level | => QA functional test | |||||||||
2023-10-30 13:41 | AugustoMauch | Regression date | => 2023-10-17 | |||||||||
2023-10-30 13:41 | AugustoMauch | Regression introduced in release | => main | |||||||||
2023-10-30 13:41 | AugustoMauch | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/53376e56283d11e1f19363bcf79e53ab03d95639 [^] | |||||||||
2023-10-30 13:41 | AugustoMauch | Relationship added | caused by 0053408 | |||||||||
2023-10-30 13:42 | AugustoMauch | Status | new => scheduled | |||||||||
2023-10-30 14:18 | hgbot | Note Added: 0156492 | ||||||||||
2023-10-31 15:07 | ablasco | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=27058#r27058 | |||||||||
2023-10-31 15:11 | ablasco | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=27059#r27059 | |||||||||
2023-11-01 10:57 | AugustoMauch | Summary | Auto Roles Regression - Impossible to connect to another POS than the default organization => User cannot connect to POS if default role belong to another store | |||||||||
2023-11-01 10:57 | AugustoMauch | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=27062#r27062 | |||||||||
2023-11-01 10:57 | AugustoMauch | Proposed Solution updated | ||||||||||
2023-11-01 10:57 | AugustoMauch | Assigned To | ablasco => AugustoMauch | |||||||||
2023-11-01 11:01 | hgbot | Note Added: 0156586 | ||||||||||
2023-11-01 11:02 | hgbot | Note Added: 0156587 | ||||||||||
2023-11-01 11:02 | AugustoMauch | Note Deleted: 0156492 | ||||||||||
2023-11-01 11:02 | AugustoMauch | Note Deleted: 0156587 | ||||||||||
2023-11-09 15:21 | hgbot | Note Added: 0156978 | ||||||||||
2023-11-09 23:41 | AugustoMauch | Status | scheduled => resolved | |||||||||
2023-11-09 23:41 | AugustoMauch | Fixed in SCM revision | => 24Q1 | |||||||||
2023-11-09 23:41 | AugustoMauch | Resolution | open => fixed | |||||||||
2023-11-09 23:41 | AugustoMauch | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|