Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0037867 | Openbravo ERP | A. Platform | public | 2018-02-09 10:54 | 2018-02-22 18:19 |
Reporter | AugustoMauch | ||||
Assigned To | AugustoMauch | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | 3.0PR18Q2 | |||
Merge Request Status | |||||
Review Assigned To | caristu | ||||
OBNetwork customer | No | ||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0037867: Missing admin mode in HQLDataSourceService | ||||
Description | There is a missing admin mode in HQLDataSourceService.getTableFromParameters. Usually this issue is not reproducible because the user's role has readable access to the AD_TABLE table, but if the user has limited access an exception will be thrown. | ||||
Steps To Reproduce | Create a role with very limited access: - User Level: Client + Organization - Manual: True - Org Access: All - User Assignment: Openbravo - Window Access: Return From Customer, Editable Field = true Log in with Openbravo, switch to the new role. - Open the Return from Customer window - Create a record in the header tab - Click on the Pick/Edit Lines button. The following error will be shown in the console: 425945 [http-bio-8080-exec-9] ERROR org.openbravo.base.exception.OBSecurityException - Entity ADTable is not readable by the user 100 org.openbravo.base.exception.OBSecurityException: Entity ADTable is not readable by the user 100 at org.openbravo.dal.security.EntityAccessChecker.checkReadable(EntityAccessChecker.java:343) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:596) at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:583) at org.openbravo.dal.service.OBDal.get(OBDal.java:297) at org.openbravo.service.datasource.HQLDataSourceService.getTableFromParameters(HQLDataSourceService.java:223) at org.openbravo.service.datasource.HQLDataSourceService.getData(HQLDataSourceService.java:161) at org.openbravo.service.datasource.ReadOnlyDataSourceService.fetchJSONObject(ReadOnlyDataSourceService.java:135) at org.openbravo.service.datasource.ReadOnlyDataSourceService.fetch(ReadOnlyDataSourceService.java:68) | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2018-02-09 10:54 | AugustoMauch | New Issue | |||
2018-02-09 10:54 | AugustoMauch | Assigned To | => AugustoMauch | ||
2018-02-09 10:54 | AugustoMauch | OBNetwork customer | => No | ||
2018-02-09 10:54 | AugustoMauch | Modules | => Core | ||
2018-02-09 10:54 | AugustoMauch | Triggers an Emergency Pack | => No | ||
2018-02-09 10:56 | AugustoMauch | Review Assigned To | => caristu | ||
2018-02-09 10:56 | hgbot | Checkin | |||
2018-02-09 10:56 | hgbot | Note Added: 0102298 | |||
2018-02-09 10:56 | hgbot | Status | new => resolved | ||
2018-02-09 10:56 | hgbot | Resolution | open => fixed | ||
2018-02-09 10:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3d95f9654e988bdddbfe214ccfdd12a396fa9af7 [^] | ||
2018-02-09 11:37 | hgbot | Checkin | |||
2018-02-09 11:37 | hgbot | Note Added: 0102301 | |||
2018-02-12 12:24 | caristu | Note Added: 0102329 | |||
2018-02-12 12:24 | caristu | Status | resolved => closed | ||
2018-02-12 12:24 | caristu | Fixed in Version | => 3.0PR18Q2 | ||
2018-02-22 18:19 | hudsonbot | Checkin | |||
2018-02-22 18:19 | hudsonbot | Note Added: 0102740 | |||
2018-02-22 18:19 | hudsonbot | Checkin | |||
2018-02-22 18:19 | hudsonbot | Note Added: 0102742 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|