Questions on web components and Iframes. I couldn'...
# gooddata-cloud
d
Questions on web components and Iframes. I couldn't find areas where permissions worked. If we use Web Components or Iframes how do we make sure that the user is only seeing data that they are supposed to see? Right now we have one Parent and each customer is a child and users only have permission to their child space.
m
Hi Doug, this should work out of the box. As far as I know the permissions work the same way when using the portal and when using embedded iframes or web components. As long as your user is authenticated with their user account and have permissions assigned to that account, the system will only allow them to see what they are supposed to see - both access to workspaces and potentially further restricting data with user data filters tied to that user. So the key is to have the users defined, have the permissions set and perform the login properly while embedding. Here is documentation about the authentication in case of using iFrames for embedding Dashboards: https://www.gooddata.com/docs/cloud/embed-visualizations/iframes/embed-dashboard-via-iframe/#EmbedDashboardsUsingIframes-Authentication And here is some more infor about authentication in case of using WebComponents: https://www.gooddata.com/docs/gooddata-ui/latest/learn/embed_dashboards/web_components/authentication/