Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0048214 | Openbravo ERP | A. Platform | public | 2021-12-09 14:07 | 2021-12-09 14:19 | |||||||
| Reporter | alostale | |||||||||||
| Assigned To | Triage Platform Base | |||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
| Status | new | Resolution | open | |||||||||
| Platform | OS | 5 | OS Version | |||||||||
| Product Version | ||||||||||||
| Target Version | Fixed in Version | |||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| 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 | 0048214: Simplify SeguridadData.selectAccess method | |||||||||||
| Description | SeguridadData.selectAccess method is over complicated it concatenates several sql union statements. | |||||||||||
| Steps To Reproduce | Check https://gitlab.com/openbravo/product/openbravo/-/blob/c4c1c2e295e904fe0dd25f189547a8c8ea3bda41/src/org/openbravo/base/secureApp/Seguridad_data.xsql#L120 [^] | |||||||||||
| Proposed Solution | * The only user of this method is HSAS.hasGeneralAccess which already knows the type so the method could be split accordingly. * Review the "special" case of IDs 800017 and 800018, is this still valid * Review the last AD_Process union, does it make sense? * Review inverse logic for TABLE type * Review/remove IsExternalService union case as deprecated/unused by 0048206 | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2021-12-09 14:07 | alostale | New Issue | ||||||||||
| 2021-12-09 14:07 | alostale | Assigned To | => Triage Platform Base | |||||||||
| 2021-12-09 14:07 | alostale | OBNetwork customer | => No | |||||||||
| 2021-12-09 14:07 | alostale | Modules | => Core | |||||||||
| 2021-12-09 14:07 | alostale | Triggers an Emergency Pack | => No | |||||||||
| 2021-12-09 14:17 | alostale | Relationship added | related to 0048206 | |||||||||
| 2021-12-09 14:19 | shuehner | Issue Monitored: shuehner | ||||||||||
| There are no notes attached to this issue. |