eschutho commented on code in PR #34319:
URL: https://github.com/apache/superset/pull/34319#discussion_r2248501608
##########
superset/security/manager.py:
##########
@@ -570,6 +571,32 @@ def can_access_datasource(self, datasource:
"BaseDatasource") -> bool:
return True
+ def can_drill_dataset_via_dashboard_access(
+ self, dataset: "BaseDatasource", dashboard: "Dashboard"
+ ) -> bool:
+ """
+ Return True if an embedded user or DASHBOARD_RBAC user can drill a
dataset.
Review Comment:
@Vitor-Avila since drilling exposes more data, is there a way to disable
this feature for embedded users if they don't want to turn it on?
--
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]