Danai Chronopoulou
01/12/2024, 1:41 PMGET /api/v1/layout/workspaces/workspace-id/permissions
{
"hierarchyPermissions": [
{
"assignee": {
"id": "user-id",
"type": "user"
},
"name": "MANAGE"
}
],
"permissions": [
{
"assignee": {
"id": "user-id",
"type": "user"
},
"name": "MANAGE"
}
]
}
Michal Hauzírek
01/12/2024, 1:54 PMdatasetExtensions
part in the setLogicalModel API call: https://www.gooddata.com/docs/cloud/api-and-sdk/api/api_reference_all/#operation/setLogicalModel
The datasetExtensions allows you to append a WDF to the existing (inherited) dataset which did not have it.Michal Hauzírek
01/12/2024, 1:57 PMDanai Chronopoulou
01/12/2024, 2:19 PMapi/v1/layout/workspaces/workspace-id/permissions
and body
{
"hierarchyPermissions": [
{
"assignee": {
"id": "89a323aa-ca56-4d98-bb89-85d0f3b1b8a3",
"type": "user"
},
"name": "EXPORT"
}
],
"permissions": [
{
"assignee": {
"id": "89a323aa-ca56-4d98-bb89-85d0f3b1b8a3",
"type": "user"
},
"name": "EXPORT"
}
]
}
when rendering the dashboard components i get the error AN UNEXPECTED ERROR HAS OCCURRED
What am I doing wrong here?Michal Hauzírek
01/12/2024, 8:51 PMhierarchyPermissions
and permissions
for the same user is all-right
• If the user no longer has Workspace.MANAGE
permission, it can happen they do not have access to that specific dashboard. By default users with lower permissions than Workspace.MANAGE can only see dashboard explicitly shared with them or dashboards shared with all workspace users. See the dashboard permissions. (I would expect better error message in such case).Danai Chronopoulou
01/16/2024, 7:26 AM{
"detail": "The requested endpoint does not exist or you do not have permission to access it.",
"status": 404,
"title": "Not Found",
"traceId": "a2728674951812e2c89f46713d43c951"
}
Michal Hauzírek
01/16/2024, 2:59 PMsource: EVALUATION, objectExist: true
> Operation is not granted dashboard: aac431ab-421e-477b-a8fc-caba9d05100a
So I believe this is really the case with user not having permission to the specific dashboard anymore after removing the workspace.MANAGE permission.Danai Chronopoulou
01/18/2024, 10:14 AM