Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027412Openbravo ERP09. Financial managementpublic2014-08-22 08:522014-12-30 23:24
jonalegriaesarte 
fsoto82 
normalminorhave not tried
closedfixed 
5
 
3.0PR15Q1 
Sandrahuguet
Core
No
0027412: If role does not have permissions to access PeriodControlLog entity, user can not open/close periods
If role does not have permissions to access PeriodControlLog entity, user can not open/close periods
- Role admin remove access to Period Control Log window
- Login again
- Open/close Periods, close a period
Error:
Entity PeriodControlLog is not directly readable, only id and identifier properties are readable, property PeriodControlLog.cascade is neither of these.
No tags attached.
Issue History
2014-08-22 08:52jonalegriaesarteNew Issue
2014-08-22 08:52jonalegriaesarteAssigned To => AtulOpenbravo
2014-08-22 08:52jonalegriaesarteModules => Core
2014-08-22 08:52jonalegriaesarteResolution time => 1415228400
2014-08-22 08:52jonalegriaesarteTriggers an Emergency Pack => No
2014-09-22 16:36jonalegriaesarteTarget Version3.0PR14Q4 => 3.0PR15Q1
2014-10-04 22:10fsoto82Statusnew => scheduled
2014-10-04 22:10fsoto82Note Added: 0070714
2014-10-04 22:10fsoto82Assigned ToAtulOpenbravo => fsoto82
2014-10-04 22:10fsoto82fix_in_branch => pi
2014-11-03 17:20hgbotCheckin
2014-11-03 17:20hgbotNote Added: 0071376
2014-11-03 17:20hgbotStatusscheduled => resolved
2014-11-03 17:20hgbotResolutionopen => fixed
2014-11-03 17:20hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/5f545250a3306324dc3aebc51c25c9626c269c7e [^]
2014-11-03 17:21SandrahuguetReview Assigned To => Sandrahuguet
2014-11-03 17:21SandrahuguetNote Added: 0071377
2014-11-03 17:21SandrahuguetStatusresolved => closed
2014-12-30 23:24hudsonbotCheckin
2014-12-30 23:24hudsonbotNote Added: 0073013

Notes
(0070714)
fsoto82   
2014-10-04 22:10   
- Login using a role without access to Period Control Log window
- Open Open/close Periods window, try to close a period
- The period closes successfully
(0071376)
hgbot   
2014-11-03 17:20   
Repository: erp/devel/pi
Changeset: 5f545250a3306324dc3aebc51c25c9626c269c7e
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Mon Oct 06 09:08:12 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/5f545250a3306324dc3aebc51c25c9626c269c7e [^]

Fixed bug 27412: Role without access to PeriodControlLog cant open/close periods

Changed OpenClosePeriodHandler.java to set the context in admin mode to avoid permition issues.

---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/event/OpenClosePeriodHandler.java
---
(0071377)
Sandrahuguet   
2014-11-03 17:21   
Code review + testing OK
(0073013)
hudsonbot   
2014-12-30 23:24   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6525fe229e06 [^]
Maturity status: Test