Hi Faiza and Max, API tokens are assigned to specific users and it should serve to authenticate via the API to resources and data the user can already access via the API.
With this in mind, could you please confirm whether the user can also see the data they are not supposed to see when doing the export via the UI? It may not be the case, but a drill down can certainly lead to a hidden dashboard, note that hiding a dashboard is not a security feature. Currently, only Workspace and User data filters are considered proper features to restrict the data (
https://www.gooddata.com/docs/cloud/workspaces/workspace-data-filters/)
If further assistance is needed, could you please provide the exact steps to reproduce the issue? For example: how was the filter created? What permissions are assigned to the user? Which endpoint is being used to trigger the export? And how was the drill-down configured?