Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0056139 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | have not tried | 2024-07-31 14:26 | 2024-08-06 13:31 | |||
Reporter | AugustoMauch | View Status | public | |||||
Assigned To | AugustoMauch | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
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 | |||||||
Review Assigned To | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0056139: Button to switch from POS to SCO should not take into account current user permission to access SCO | |||||||
Description | When the button is clicked, a credential request will be prompted to introduce the data of the user that will be logged in into SCO, so it is not relevant relevant the current user has SCO access to determine if the button should be enabled. | |||||||
Steps To Reproduce | - Configure a user (A) so that it has access to POS but not to SCO - Configure another usre (B) so that it has access to SCO - Configure the given terminal type so that it is enabled for both POS and SCO - Login in POS with A - Notice that the Switch to SCO toolbar button is disabled. This is wrong | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0167543) hgbot (developer) 2024-07-31 14:29 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/43 [^] |
(0167749) hgbot (developer) 2024-08-06 13:31 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/merge_requests/43 [^] |
(0167750) hgbot (developer) 2024-08-06 13:31 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout [^] Changeset: f3afc6158bba7c0cab06912d4211d5f85ee8a5df Author: Augusto Mauch <augusto.mauch@openbravo.com> Date: 06-08-2024 09:41:27 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2.selfcheckout/-/commit/f3afc6158bba7c0cab06912d4211d5f85ee8a5df [^] Fixes ISSUE-56139: Switch to SCO button should not check current user SCO access The SwitchToSelfCheckout user action no longer has a executability rule to disable the button if the current user does not have access to SCO. Also, the user action definition from the application dictionary has been removed, becaues we do not want the user action to be configurable from Roles -> User Action Access. The button will be enabled if the terminal has been granted SCO access, and when clicked, the entered credentials will be validated for SCO access --- M web-jspack/org.openbravo.pos2.selfcheckout/src/model/sco-mode/SwitchToSelfCheckout.js R src-db/database/sourcedata/OBC2_USER_ACTION.xml --- |
Issue History | |||
Date Modified | Username | Field | Change |
2024-07-31 14:26 | AugustoMauch | New Issue | |
2024-07-31 14:26 | AugustoMauch | Assigned To | => Retail |
2024-07-31 14:26 | AugustoMauch | Triggers an Emergency Pack | => No |
2024-07-31 14:29 | hgbot | Note Added: 0167543 | |
2024-07-31 14:37 | AugustoMauch | Assigned To | Retail => AugustoMauch |
2024-07-31 14:37 | AugustoMauch | Status | new => acknowledged |
2024-07-31 14:37 | AugustoMauch | Status | acknowledged => scheduled |
2024-08-06 13:31 | hgbot | Note Added: 0167749 | |
2024-08-06 13:31 | hgbot | Resolution | open => fixed |
2024-08-06 13:31 | hgbot | Status | scheduled => closed |
2024-08-06 13:31 | hgbot | Note Added: 0167750 |
Copyright © 2000 - 2009 MantisBT Group |