Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014491Openbravo ERPA. Platformpublic2010-09-09 10:262010-09-15 00:00
marvintm 
marvintm 
normalminorhave not tried
closedfixed 
5
 
 
Core
No
0014491: A new DAL admin mode which also checks for client/organization would be useful
Currently, the admin mode in the Data Access Layer bypasses both the entity access check and the client/organization check. This makes sense, but there are many cases in which the client/organization check is useful in business logic code.

Therefore, a less strict admin mode which checks for client/organization compliance, but not entity access, would be useful.
No tags attached.
blocks defect 0013946 closed vmromanos permission's error is returned 
Issue History
2010-09-09 10:26marvintmNew Issue
2010-09-09 10:26marvintmAssigned To => marvintm
2010-09-09 11:15hgbotCheckin
2010-09-09 11:15hgbotNote Added: 0030890
2010-09-09 11:15hgbotStatusnew => resolved
2010-09-09 11:15hgbotResolutionopen => fixed
2010-09-09 11:15hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a7f7484b9d6405072a10f6cea2167b7da627e155 [^]
2010-09-09 11:59hgbotCheckin
2010-09-09 11:59hgbotNote Added: 0030892
2010-09-10 06:10hudsonbotCheckin
2010-09-10 06:10hudsonbotNote Added: 0030916
2010-09-10 06:10hudsonbotCheckin
2010-09-10 06:10hudsonbotNote Added: 0030917
2010-09-14 17:37mtaalNote Added: 0031052
2010-09-14 17:37mtaalStatusresolved => closed
2010-09-15 00:00anonymoussf_bug_id0 => 3066291
2010-09-24 12:38vmromanosRelationship addedblocks 0013946

Notes
(0030890)
hgbot   
2010-09-09 11:15   
Repository: erp/devel/pi
Changeset: a7f7484b9d6405072a10f6cea2167b7da627e155
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Sep 09 11:12:58 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a7f7484b9d6405072a10f6cea2167b7da627e155 [^]

Fixed issue 14491. Added a less strict admin mode in DAL

---
M src/org/openbravo/dal/core/OBContext.java
M src/org/openbravo/dal/security/SecurityChecker.java
A src-test/org/openbravo/test/dal/DoOrgClientAccessCheckTest.java
---
(0030892)
hgbot   
2010-09-09 11:59   
Repository: erp/devel/pi
Changeset: 1a70d010c5127b1a208f9307d2afbf041f171b79
Author: Antonio Moreno <antonio.moreno <at> openbravo.com>
Date: Thu Sep 09 11:58:24 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1a70d010c5127b1a208f9307d2afbf041f171b79 [^]

Related to issue 14491. Added missing license

---
M src-test/org/openbravo/test/dal/DoOrgClientAccessCheckTest.java
---
(0030916)
hudsonbot   
2010-09-10 06:10   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/a7f7484b9d64 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/177150e9722d [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18361.obx [^]
(0030917)
hudsonbot   
2010-09-10 06:10   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/1a70d010c512 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/177150e9722d [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18361.obx [^]
(0031052)
mtaal   
2010-09-14 17:37   
Reviewed