[Links] Unable to view by-reference links panels if user does not have saved object management permissions #173305
Labels
bug
Fixes for quality problems that affect the customer experience
impact:high
Addressing this issue will have a high level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Project:Dashboard Navigation
Related to the Dashboard Navigation Project
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
Tip
This was reported here: #166896 (comment)
Describe the bug:
When a user does not have
Saved Objects Management
permissions in their role, they are unable to see by-reference links panels and simply see the following "Forbidden" error:Looking into this, and it seems to fail at the point we try to fetch the Links saved object from the content management client in the
unwrapMethod
fromsrc/plugins/links/public/services/attribute_service.ts
. Fetching other saved objects (visualizations, dashboards, etc.) do not fail, so I wonder if we have to add something to the Links CM type that will allow this? 🤔Steps to reproduce:
Saved Objects Management
permissions.Note
Note that other by reference panels load just fine without this permission.
Expected behavior:
Links panels should be fetchable without
Saved Objects Management
permissions, just like other by-reference panels.The text was updated successfully, but these errors were encountered: