Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0054106Openbravo ERPA. Platformpublic2023-12-12 12:532023-12-27 11:50
cberner 
ablasco 
immediatemajorhave not tried
closedfixed 
5
 
PR24Q1 
Core
Automated tests
2023-10-17
https://gitlab.com/openbravo/product/openbravo/-/commit/22b446ee1caf09bee0f4d8ca3ad6eb97f4164df5 [^]
No
0054106: Linked Items shows "Not enough privileges" when trying to access it with System Role
System role or automatic roles in general(like White Valley Group Admin) fail to show the linked items in different windows in the backoffice.
1. Login WebPOS
2. Switch to System Admin role
3. Go to Tables & Columns window
4. Open any record and click on Linked Items, see the following message: "Some details cannot be shown because you do not have enough privileges"

A screenshot has been added.
No tags attached.
caused by defect 0053408 closed ablasco Do not persist access for automatic roles 
png failureLinkedItems.png (12,790) 2023-12-12 12:54
https://issues.openbravo.com/file_download.php?file_id=19203&type=bug
png
Issue History
2023-12-12 12:53cbernerNew Issue
2023-12-12 12:53cbernerAssigned To => Triage Platform Base
2023-12-12 12:53cbernerFile Added: failureLinkedItems
2023-12-12 12:53cbernerModules => Core
2023-12-12 12:53cbernerRegression level => Automated tests
2023-12-12 12:53cbernerRegression date => 2023-10-17
2023-12-12 12:53cbernerRegression introduced by commit => https://gitlab.com/openbravo/product/openbravo/-/commit/22b446ee1caf09bee0f4d8ca3ad6eb97f4164df5 [^]
2023-12-12 12:53cbernerTriggers an Emergency Pack => No
2023-12-12 12:53cbernerFile Deleted: failureLinkedItems
2023-12-12 12:54cbernerFile Added: failureLinkedItems.png
2023-12-12 12:54cbernerRelationship addedcaused by 0053408
2023-12-12 12:55cbernerPrioritynormal => immediate
2023-12-12 15:29AugustoMauchAssigned ToTriage Platform Base => ablasco
2023-12-13 15:49hgbotNote Added: 0158156
2023-12-27 11:50hgbotResolutionopen => fixed
2023-12-27 11:50hgbotStatusnew => closed
2023-12-27 11:50hgbotNote Added: 0158636
2023-12-27 11:50hgbotFixed in Version => PR24Q1
2023-12-27 11:50hgbotNote Added: 0158637

Notes
(0158156)
hgbot   
2023-12-13 15:49   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1072 [^]
(0158636)
hgbot   
2023-12-27 11:50   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1072 [^]
(0158637)
hgbot   
2023-12-27 11:50   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: d02e72d511f5057314b341bb1bab9effc4796840
Author: adrian.blasco <adrian.blasco@openbravo.com>
Date: 27-12-2023 10:43:28
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/d02e72d511f5057314b341bb1bab9effc4796840 [^]

Fixes ISSUE-54106 Linked Items are accessible for Auto Roles with no records in ad_window_access used to get UsedByLinkData from Database

---
M src/org/openbravo/erpCommon/utility/UsedByLink.java
---