-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 5.12.18, 5.12.28, 10.3.8, 10.3.11, 11.1.0
-
Component/s: Assets - Object, Type and Schema
-
2
-
Severity 3 - Minor
Issue Summary
When accessing a parent object on the Object View in Assets, inbound references fail to display for the parent object when one referenced object type has stricter view permissions if the user doesn't have access to one of the references. Users see a "Failed to retrieve the references" error instead of the expected references for the objects that they have access to.

Steps to Reproduce
- Create an object type "Main"
- Set the "Main" the "Let the attributes be inherited by object type children" setting under Object Type > Configure > Inheritance tab - This will pass the Main attributes to all children
- Create an attribute of the Main object type
- Create an object on the "Main" object type: e.g Obj_A
- Create another object type "Visible", setting the "Main" as parent
- Create an object on the "Visible" object type: e.g Obj_B and add the Obj_A as reference
- Create another object type "Hidden", setting the "Main" as parent
- Create an object on the "Hidden" object type: e.g Obj_C and add the Obj_A as reference
- Place restrictions on the "Hidden" object type. Object Type -> Configure -> Roles and make sure the regular user does not have access to any of the roles.
- As the regular user, go the the "Main" object, check for Inbound References.
- In the Object Schema View, the inbound references will load.
- However, in the Object View, the "Failed to retrieve the references" error will appear, and the inbound references are not loading
Expected Results
The user should see all inbound references for the 'Main' object that they have permission to view, without errors.
Actual Results
The exception below is thrown in the UI:
Failed to retrieve the references
While verifying the HAR response:
JIRA_URL/rest/insight-am/1/assets/TES2-11219/outboundreferences { "errors": [ { "message": "Sorry, you do not have permission to perform this action" } ] }
Workaround
The references will load fine while accessing via Object Schema View.
- is related to
-
JSDSERVER-10897 Inbound references fail to load when Object Type roles are set up
-
- Gathering Impact
-
- links to
