superset_dashboard_revoke_role_access
Remove a role's access to a dashboard by removing datasource permissions for its datasets. Use dry-run to check effects on other dashboards before confirming.
Instructions
Revoke a role's access to a dashboard by removing datasource_access for the dashboard's datasets from the role's permissions.
IMPORTANT: if a dataset is used by other dashboards that the role also has access to, revoking will break access to those dashboards as well. The tool will check and warn about this.
Without confirm_revoke=True, shows the action plan (dry-run).
Args: dashboard_id: Dashboard ID (from dashboard_list). role_id: ID of the role to revoke access from (from role_list). confirm_revoke: True to apply. False for dry-run only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role_id | Yes | ||
| dashboard_id | Yes | ||
| confirm_revoke | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |