Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0055159 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] Core | major | have not tried | 2024-04-10 15:33 | 2024-04-21 22:59 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | Triage Platform Base | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 24Q3 | |||
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 | 0055159: organization is not taken into account when checking approvals | |||||||
Description | Supervisor's write access to the current organization is not checked when performing an approval. | |||||||
Steps To Reproduce | 1. Log into BO with The White Valley Admin role 1.1 In Role window select VallBlancaUser 1.2 In user action access, select SetLinePrice and set as Approval required 2. In BO change role to F&B Group Admin 2.1 Create a new user in F&B International Group client 2.2 Grant "F&B US, Inc. - Sales" role to this new user 2.3 Edit "F&B US, Inc. - Sales" role adding in User Action Access tab "Can Use and Approve" for SetLine action 3. Log into POS in VBS-2 terminal with vallblanca user 3.1 Create a ticket with a line 3.2 Select Price Modification option for that line and set a new price 3.3 In the approval popup add the credentials for the user created in step 2.1 ERROR -> the user for F&B can approve in Vallblanca store | |||||||
Proposed Solution | When checking if a user can approve, it should be taken into consideration whether that user have write access to current organization. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0163061) hgbot (developer) 2024-04-10 16:07 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1451 [^] |
(0163476) hgbot (developer) 2024-04-21 22:59 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1451 [^] |
(0163477) hgbot (developer) 2024-04-21 22:59 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: fd5c15b1022c673f21b630830acc56c8d5210e87 Author: Asier Lostalé <a.lostale@orisha.com> Date: 21-04-2024 18:01:54 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/fd5c15b1022c673f21b630830acc56c8d5210e87 [^] fixes BUG-55159: org not taken into account when checking approvals --- M src-test/org/openbravo/core2/utility/CheckApprovalTest.java M src/org/openbravo/core2/utility/CheckApproval.java --- |
Issue History | |||
Date Modified | Username | Field | Change |
2024-04-10 15:33 | alostale | New Issue | |
2024-04-10 15:33 | alostale | Assigned To | => Triage Platform Base |
2024-04-10 15:33 | alostale | Triggers an Emergency Pack | => No |
2024-04-10 16:07 | hgbot | Note Added: 0163061 | |
2024-04-21 22:59 | hgbot | Resolution | open => fixed |
2024-04-21 22:59 | hgbot | Note Added: 0163476 | |
2024-04-21 22:59 | hgbot | Status | new => closed |
2024-04-21 22:59 | hgbot | Fixed in Version | => 24Q3 |
2024-04-21 22:59 | hgbot | Note Added: 0163477 |
Copyright © 2000 - 2009 MantisBT Group |