Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053663Openbravo ERPA. Platformpublic2023-10-15 22:382023-10-17 10:39
AugustoMauch 
Triage Platform Base 
normalminorhave not tried
closedfixed 
5
 
 
Core
No
0053663: API change: Changes related to management of access for automatic roles
Issue 53408 is addressing a change in the way the access of automatic roles will be managed. From now on those roles do not require to have entries in the *_access tables (i.e. ad_window_access). Due to this, it is no longer needed to automatically generate those rows, and that's why some triggers, some functions and some extension points have been removed:

 [checkAPI] 10396 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution - +++++++++++++++++++++++++++++++++++++++++++++++++++
 [checkAPI] 10396 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution - Errors in API model validation
 [checkAPI] 10396 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution - +++++++++++++++++++++++++++++++++++++++++++++++++++
 [checkAPI] 10397 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution - Removed function OBUIAPP_UPDATE_ACCESS
 [checkAPI] 10397 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution - Removed function OBKMO_UPDATE_ACCESS
 [checkAPI] 10397 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution -
 [checkAPI]
 [checkAPI] 10398 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution -
 [checkAPI]
 [checkAPI] 10398 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution - +++++++++++++++++++++++++++++++++++++++++++++++++++
 [checkAPI] 10398 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution - Errors in API data validation
 [checkAPI] 10398 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution - +++++++++++++++++++++++++++++++++++++++++++++++++++
 [checkAPI] 10399 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution - Removed row from table AD_EP_PROCEDURES - ID: 3BD06D12FD0C42179171273CA4DB8F8E
 [checkAPI] 10399 [main] ERROR org.openbravo.ddlutils.task.CheckAPIDistribution - Removed row from table AD_EP_PROCEDURES - ID: E1F4573C8D2D4A8A829ECE508039E5A7
See https://builds.openbravo.com/job/try-api/1612/consoleText [^]
No tags attached.
related to defect 0053408 closed ablasco Do not persist access for automatic roles 
Issue History
2023-10-15 22:38AugustoMauchNew Issue
2023-10-15 22:38AugustoMauchAssigned To => Triage Platform Base
2023-10-15 22:38AugustoMauchModules => Core
2023-10-15 22:38AugustoMauchTriggers an Emergency Pack => No
2023-10-15 22:39AugustoMauchRelationship addedrelated to 0053408
2023-10-15 22:47hgbotNote Added: 0155842
2023-10-17 10:39hgbotResolutionopen => fixed
2023-10-17 10:39hgbotStatusnew => closed
2023-10-17 10:39hgbotNote Added: 0155939
2023-10-17 10:39hgbotNote Added: 0155940

Notes
(0155842)
hgbot   
2023-10-15 22:47   
Merge Request created: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/52 [^]
(0155939)
hgbot   
2023-10-17 10:39   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/backoffice-api [^]
Changeset: eabfd4af8ddeacf5a02dc5f89229c1469035daeb
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 15-10-2023 22:44:15
URL: https://gitlab.com/openbravo/ci/backoffice-api/-/commit/eabfd4af8ddeacf5a02dc5f89229c1469035daeb [^]

Fixes ISSUE-53663: Removes from API functions no longer needed related to automatic role management

---
M model/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_EP_PROCEDURES.xml
M model/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_EP_PROCEDURES.xml
R model/modules/org.openbravo.client.application/src-db/database/model/functions/OBUIAPP_UPDATE_ACCESS.xml
R model/modules/org.openbravo.client.myob/src-db/database/model/functions/OBKMO_UPDATE_ACCESS.xml
---
(0155940)
hgbot   
2023-10-17 10:39   
Merge request merged: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/52 [^]