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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033054
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] Z. Othersmajoralways2016-05-25 11:042016-05-30 21:24
ReportermaiteView Statuspublic 
Assigned Tomarkmm82 
PriorityimmediateResolutionfixedFixed in Version3.0PR16Q1.3
StatusclosedFix in branchFixed in SCM revision56ff23f68667
ProjectionnoneETAnoneTarget Version3.0PR16Q1.3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0033054: Permissions problem after process payment: role defined for an specific org (norte) is able to see data from sister orgs (sur)

DescriptionProblem is caused by resolution of issue: https://issues.openbravo.com/view.php?id=28931, [^] which also needs to be reviewed as error "Organization B843C30461EA4501935CB1D125C9C25A of object (ADSequence(0BC1D46D77844119AAAC72636119BF43) (name: AR Receipt)) is not present in OrganizationList " is obtained when trying to create payment fro "Add payment from invoice" process
Steps To Reproduce1. Access Role window, search "F&B España, S.A - Finance" role and DELETE permissions to "F&B España, S.A" and "F&B España - Región Sur" in Org Access. So role only has access to "F&B España - Región Norte" organization
2. Logout and login again using "F&B España, S.A - Finance" role
3. Access Payment IN window and realize that only records from "F&B España - Región Norte" organization and "F&B España, S.A" (read only) are shown
4. Create new Payment In record, run "Add Payment" process, select any invoice and process
5. Realize that also records from "F&B España - Región Sur" are shown in grid, which is wrong

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0033043 closedmarkmm82 Permissions problem after process payment: role defined for an specific org (norte) is able to see data from sister orgs (sur) 

-  Notes
(0086832)
hgbot (developer)
2016-05-30 21:22

Repository: erp/backports/3.0PR16Q1.3
Changeset: 56ff23f68667342d6dbc66eec2911979ba26cdb6
Author: Mark <markmm82 <at> gmail.com>
Date: Fri May 27 13:12:14 2016 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1.3/rev/56ff23f68667342d6dbc66eec2911979ba26cdb6 [^]

Fixed issue 33054: Permissions problems after process payment solved.

Role defined for an specific org is not able to see data from sister orgs.

Regression was introduced by the commit associated to issue 28931:
http://code.openbravo.com/erp/devel/pi/rev/78fd9bade67beea0399977fcdc05fd267c4af8c4 [^]

Changes were rolled back.
Also this patch includes fix for the issue 28931, avoiding to remove from the Writable Organizations List of the OBContext object, the Organization of the sequence of the payment's document type, if this organization is already in the list of accesible organizations of the current logged role.

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/AdvPaymentMngtDao.java
---
(0086833)
hgbot (developer)
2016-05-30 21:22

Repository: erp/backports/3.0PR16Q1.3
Changeset: 51fd2cad5b6838def0914fb2189606239d8cce51
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Mon May 30 18:33:13 2016 +0200
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1.3/rev/51fd2cad5b6838def0914fb2189606239d8cce51 [^]

Related to issue 33054: Code review improvements

---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java
---
(0086838)
aferraz (manager)
2016-05-30 21:24

Code review + Testing OK

- Issue History
Date Modified Username Field Change
2016-05-25 19:44 markmm82 Type defect => backport
2016-05-25 19:44 markmm82 Target Version => 3.0PR16Q1.3
2016-05-30 21:22 hgbot Checkin
2016-05-30 21:22 hgbot Note Added: 0086832
2016-05-30 21:22 hgbot Status scheduled => resolved
2016-05-30 21:22 hgbot Resolution open => fixed
2016-05-30 21:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q1.3/rev/56ff23f68667342d6dbc66eec2911979ba26cdb6 [^]
2016-05-30 21:22 hgbot Checkin
2016-05-30 21:22 hgbot Note Added: 0086833
2016-05-30 21:24 aferraz Review Assigned To => aferraz
2016-05-30 21:24 aferraz Note Added: 0086838
2016-05-30 21:24 aferraz Status resolved => closed
2016-05-30 21:24 aferraz Fixed in Version => 3.0PR16Q1.3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker