Skip to content

Datasource access #28760

@Zarrina1

Description

@Zarrina1

Bug description

Hello everyone!
I have Superset version 2.1.0
I have an issue while giving access to gamma role on particular dataset .
Normal situation is when I give datasource access to Gamma role. So after that Gamma-user can see dashboards where «my_dataset» was used as source and also Gamma user can see «my_dataset» in Dataset folder .This works with only some datasets .
Result:
Gamma Role with dataset access
3
What this Gamma Role will see :
Connected dashboard
4
Needed dataset
5

So another situation is when I give also datasource access to Gamma role but on another dataset (for ex- «dataset2» ) and dataset2 is used in some dashboards .This dashboards are not been displayed at all for the gamma-user but the user can see «dataset2» in Dataset folder .
Giving access process:
1
So all user is able to see :
2
But no dashboards !
How to solve it ?Why are dashboards been shown only with some datasets?

How to reproduce the bug

1.Create Gamma role with datasourse access on [Cluster].[dataset]
2.Gamma role user can see dataset but no related charts/dashboard
ps. dashboards are shown with some datasets ,with other datasets are not

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

I don't know

Node version

I don't know

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions