Hi, we have a good data wrapper for react followin...
# gooddata-ui
d
Hi, we have a good data wrapper for react following https://sdk.gooddata.com/gooddata-ui/docs/ht_use_react_component_in_angular_2.x.html Starting today, dashboards have stopped loading in our dev environment...nothing has changed we were demoing. We have a multitenant environment setup. TraceIds for a user trying to load a dashboard with Export Permissions: 7d1fff9fcc34953d, 0b914801b8cd22d7 TraceIds for a user trying to load a dashboard with Manage Permissions: d614dc9f3bded7b8, a01351655f47b38f Can you investigate?
j
@Dave Hood Hi Dave. I think this could be related to the latest release: https://support.gooddata.com/hc/en-us/articles/15145309648275-GoodData-Cloud-April-5-2023
Could you have a look at it and see if it matches the problem you are having?
d
@Jan Rehanek Thanks! I'll look into today and let you know if that is the cause of the problem.
👌 1
j
Given that the release was yesterday and that’s when your problem started, it’s looking extremely likely.
d
@Jan Rehanek, I think that is the issue...but along the way I've uncovered a second problem. I have 2 user groups in the child workspace, one has export permissions, the other manage permissions. When I invoke the call /actions/workspaces/<workspaceId>/analyticalDashboards/<dashboardId>/availableAssignees It only shows the usergroup with export permissions in the response list (when I change the user group with manage permissions to have export permissions it shows up).
j
Hm. I’ll have a look at this and let you know.
Could you quickly let me know what exactly the second user group has MANAGE permissions to? In relation to this: • Users who have
Workspace.MANAGE
permission to the workspace the dashboard is native to. • Users who have
Workspace.MANAGE
hierarchyPermission to the workspace workspace the dashboard is native to, or to its parent workspace, if the workspace is part of a workspace hierarchy. • Users with
Organization.MANAGE
permission.
d
None of the those. (I'm further down in the document in the parent/child part) The dashboard is native to the parent. In permissions on the workspace, the hierarchyPermissions is empty. both user groups are under permissions e.g. { "hierarchyPermissions": [], "permissions": [ { "assignee": { "id": "EXPORT_UserGroup", "type": "userGroup" }, "name": "EXPORT" }, { "assignee": { "id": "MANAGE_UserGroup", "type": "userGroup" }, "name": "MANAGE" } ] }
👀 1
j
From what I understand, we’re excluding MANAGE permissions from the list by design, as they have access to everything by default.
d
So in this scenario how would I grant permissions to my Manage group, to be able to view the dashboard (let alone other things?)
j
Well, if that group has workspace.MANAGE, then granting them that permission should be unnecessary, as they have access from the moment of the dashboard’s creation. Right, @Lubos Hilse?
d
If that is how it "should" be working....something weird must be going on then, since as mentioned at the start of the convo, both Manage and Export users cannot see dashboards
j
Maybe there’s an issue with backwards compatibility. What I mentioned is relevant for newly created dashboards. If you are updating your GoodData from an older version, note that the following permissions are automatically assigned for all existing dashboards:
Dashboard.VIEW
permission is assigned to all users who have a
Workspace.VIEW
permission to the workspace the dashboard is in.
Dashboard.EDIT
permission is assigned to all users who have a
Workspace.ANALYZE
permission to the workspace the dashboard is in.
Since workspace.MANAGED is not mentioned here, I need to verify this with the team.
d
I created a new dashboard this morning....can't add manage to it 🙂
Right. From my side, everything works as intended and described in the docs. This makes me think it is related specifically to the wrapper you’re using and how it works after the patch. I will investigate deeper internally and let you know.
d
Alright...I've tried adding my manage group via the good data UI and the API, to the dashboard...in the UI it does not show up either, only the export
You can see via the API response a manage does exist
j
Them not appearing in the invite menu is expected behaviour, as they are intended to have access by default. The fact that they can’t see the dashboards isn’t. Could you share more about how your environment is set-up? A code snippet of the component could help the front-end team see into the issue a bit more.
d
This seems to be a backend issue at this point. When I login to the good data UI as a user with manage I could see the child dashboards in the workspace, and navigate to and load them. After the update the same user when trying to navigate to and load the same dashboard is redirected back to the workspace screen
j
I’ve had a look in our logs in relation to the traceIds you sent, as well as all the entries with the same result in the last 7 days under the same orgId. One thing strikes me as very odd: Every single one of them is done under userId
7718aeea-f3dc-41b6-81f0-5258e6efda31
. Could you please verify that this user has the correct userGroup and permissions? if this doesn’t turn up anything, please send us an email to support@gooddata.com with the context of this problem - we’ll have to do a deeper investigation in a ticket.
d
@Jan Rehanek, that user is a part of the previously mentioned user group with manage permissions. I log into our good data environment as them, select the workspace, and when dashboards load I see the attached screenshot. TraceId 4cbf0c90e7e00df6, before the update...it would load the dashboard
j
I understand. In that case, it will be more effective to continue this investigation as part of a ticket. Could I ask you to send that email to support@gooddata.com?
d
Typing it now
Thanks for the help