Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0033826 | Retail Modules | Web POS | public | 2016-08-26 15:30 | 2016-08-31 10:30 |
Reporter | Orekaria | ||||
Assigned To | Retail | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0033826: Approval is being approved even if user is not having access to approve Based on Priority Preference | ||||
Description | Approval is being approved even if user is not having access to approve Based on Priority Preference | ||||
Steps To Reproduce | Configure 2 approval preferences for Remove Receipt as stated in the attached image Log into the WebPOS with "vallblanca" user Create a receipt, add a product Try to delete the receipt Verify that the approval popup is shown (CORRECT) Verify that if the user "vallblanca" credentials are provided in the pop up, the receipt is removed - INCORRECT (user "vallblanca" has no access to delete lines based on the Priority Preference) | ||||
Proposed Solution | The problem is that the preferences are sorted by priority but the information available to the server at the time of the check approval, is not enough to recreate the same priority order Priority Preference from Preference.java getHighestPriority(...) has to be considered in CheckApproval.java and LoginUtilsServlet.java Automation: Create a test to verify this issue | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | PreferenceConfig.png (19,391) 2016-08-30 15:16 https://issues.openbravo.com/file_download.php?file_id=9767&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2016-08-26 15:30 | Orekaria | New Issue | |||
2016-08-26 15:30 | Orekaria | Assigned To | => Retail | ||
2016-08-26 15:30 | Orekaria | Triggers an Emergency Pack | => No | ||
2016-08-26 15:31 | Orekaria | Status | new => scheduled | ||
2016-08-26 15:31 | Orekaria | Assigned To | Retail => simbu94 | ||
2016-08-26 15:31 | Orekaria | Relationship added | caused by 0033568 | ||
2016-08-26 15:32 | Orekaria | Proposed Solution updated | |||
2016-08-26 15:32 | Orekaria | Proposed Solution updated | |||
2016-08-26 15:33 | Orekaria | Regression introduced in release | => pi | ||
2016-08-26 15:33 | Orekaria | Regression introduced by commit | => https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e7540df082f6e24f0c18b5aaacedead195004f83 [^] | ||
2016-08-29 13:21 | simbu94 | Relationship deleted | caused by 0033568 | ||
2016-08-29 13:21 | simbu94 | Regression introduced in release | pi => | ||
2016-08-29 13:21 | simbu94 | Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e7540df082f6e24f0c18b5aaacedead195004f83 [^] => | ||
2016-08-30 14:17 | Orekaria | Note Added: 0089551 | |||
2016-08-30 14:20 | Orekaria | File Added: Screenshot from 2016-08-30 14:19:51.png | |||
2016-08-30 14:20 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12974#r12974 | ||
2016-08-30 14:22 | Orekaria | Assigned To | simbu94 => Retail | ||
2016-08-30 14:22 | Orekaria | Status | scheduled => feedback | ||
2016-08-30 14:22 | Orekaria | Status | feedback => new | ||
2016-08-30 14:24 | Orekaria | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12975#r12975 | ||
2016-08-30 15:06 | simbu94 | Note Edited: 0089551 | bug_revision_view_page.php?bugnote_id=0089551#r12977 | ||
2016-08-30 15:10 | simbu94 | File Deleted: Screenshot from 2016-08-30 14:19:51.png | |||
2016-08-30 15:16 | simbu94 | File Added: PreferenceConfig.png | |||
2016-08-30 15:26 | simbu94 | Summary | Approval is required for a user that already has it granted => Approval is being approved even if user is not having access to approve Based on Priority Preference | ||
2016-08-30 15:26 | simbu94 | Description Updated | bug_revision_view_page.php?rev_id=12979#r12979 | ||
2016-08-30 15:26 | simbu94 | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12980#r12980 | ||
2016-08-30 15:26 | simbu94 | Proposed Solution updated | |||
2016-08-31 08:45 | simbu94 | Note Edited: 0089551 | bug_revision_view_page.php?bugnote_id=0089551#r12985 | ||
2016-08-31 10:30 | Orekaria | Proposed Solution updated |
Notes | |||||
|
|||||
|
|