When having an attribute inherited from the parent, the Inbound references are not displayed in the Assets Object View when the user lacks permission to one referenced object type, showing "Failed to retrieve the references" error

XMLWordPrintable

    • 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
    • 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

      1. Create an object type "Main"
      2. 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
      3. Create an attribute of the Main object type
      4. Create an object on the "Main" object type: e.g Obj_A
      5. Create another object type "Visible", setting the "Main" as parent
      6. Create an object on the "Visible" object type: e.g Obj_B and add the Obj_A as reference
      7. Create another object type "Hidden", setting the "Main" as parent
      8. Create an object on the "Hidden" object type: e.g Obj_C and add the Obj_A as reference
      9. 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.
      10. As the regular user, go the the "Main" object, check for Inbound References.
      11. In the Object Schema View, the inbound references will load.
      12. 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.

        1. Screenshot 2025-10-02 at 06.43.01.png
          203 kB
          Rodrigo Jose Zaparoli
        2. Screenshot 2025-10-02 at 06.43.58.png
          135 kB
          Rodrigo Jose Zaparoli

            Assignee:
            Unassigned
            Reporter:
            Rodrigo Jose Zaparoli
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: