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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055159
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[POS2] Coremajorhave not tried2024-04-10 15:332024-04-21 22:59
ReporteralostaleView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionfixedFixed in Version24Q3
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

0055159: organization is not taken into account when checking approvals

DescriptionSupervisor's write access to the current organization is not checked when performing an approval.
Steps To Reproduce1. 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 SolutionWhen checking if a user can approve, it should be taken into consideration whether that user have write access to current organization.
TagsNo 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
Powered by Mantis Bugtracker