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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056139
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] POSmajorhave not tried2024-07-31 14:262024-08-06 13:31
ReporterAugustoMauchView Statuspublic 
Assigned ToAugustoMauch 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056139: Button to switch from POS to SCO should not take into account current user permission to access SCO

DescriptionWhen 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
TagsNo 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
Powered by Mantis Bugtracker