Flvn opened a new issue, #36484:
URL: https://github.com/apache/superset/issues/36484

   ### Bug description
   
   Hi,
   
   **With the drill feature on dashboards, without permission on the individual 
datasets of the charts, we get to see the drill data but also get the error 
"There was an error loading the dataset metadata".**
   
   Superset version is 5.0.0, not sure wether or not that behavior was the same 
in previous versions.
   
   We do grant access to dashboards via the dashboard properties with roles.
   The role we use have "can drill on dashboards" and "can samples on 
datasource" permissions. It is sufficient to get access to the data in the 
drill but there still is a "There was an error loading the dataset metadata" 
error message instead of the dataset metadata. 
   
   The only way to get rid of this error we could find is to grand access to 
the dataset of the chart we are drilling on to the role. But 
   - then the access management via dashboard properties does not make sense 
anymore as we have to individually manage access to datasets on top for the 
drill feature
   - it seems weird to access the data itself without the permission on the 
dataset but not the metadata if the intention is actually to require individual 
dataset access for the drill feature
   
   Thanks!
   
   
   
   ### Screenshots/recordings
   
   <img width="1168" height="198" alt="Image" 
src="https://github.com/user-attachments/assets/ac0572bf-d562-4a69-8e52-6fd6e29c2f27";
 />
   
   ### Superset version
   
   5.0.0
   
   ### Python version
   
   Not applicable
   
   ### Node version
   
   Not applicable
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to