Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up Superset end-user account #99

Open
michaelkohn opened this issue Jul 12, 2020 · 1 comment
Open

Set up Superset end-user account #99

michaelkohn opened this issue Jul 12, 2020 · 1 comment
Assignees
Labels
Analytics Analytics Squad Work C-EBS C-EBS Use Case covid19 Issue is related to a covid-19 deployment or demo

Comments

@michaelkohn
Copy link
Member

michaelkohn commented Jul 12, 2020

This is exploratory so it doesn't have to be exactly like this, but here's an example of what we might want users to be able to do.

  • Log in and ideally the first screen they are brought to is the EBS Dashboard
  • How do we give users access to dashboards or a set of dashboards
  • Should not have access to any admin-y tabs (Security, Manage, Sources, etc....) or be able to edit things
  • Ideally they would have access to "Explore Chart" but not be able save an edited chart
  • I'd like to see if there is a way to limit which facilities a certain user can see. For example... User ABC should only have access to data for the Iganga facility. Is there a way in Superset to prevent them from seeing other facilities? I'm not sure if it's related, but when setting up different users we have to specify a database username. The description of the field says Username valid for authentication on DB or LDAP, unused for OID auth. Technically we could set up roles in PostgreSQL so that queries for certain users only bring back data that meet certain criteria, but it's unclear to me if the Superset datasources are run per user or system wide.
  • Is there 'chart' level security? For example... a user has access to a dashboard but not a specific chart on that dashboard.
@michaelkohn michaelkohn created this issue from a note in Analytics Squad (To do) Jul 12, 2020
@michaelkohn michaelkohn added Analytics Analytics Squad Work covid19 Issue is related to a covid-19 deployment or demo labels Jul 12, 2020
@michaelkohn michaelkohn changed the title Explore capabilities for setting up user access to superset dashboards Set up Superset end-user account Jul 12, 2020
@michaelkohn michaelkohn added the C-EBS C-EBS Use Case label Jul 12, 2020
@tsengtammy tsengtammy moved this from To do to In progress in Analytics Squad Jul 17, 2020
@tsengtammy
Copy link
Contributor

Have started tinkering around but haven't implemented the roles fully yet. At a high level this is what we can do:

  • Log in and ideally the first screen they are brought to is the EBS Dashboard
    Not sure if we can do this

  • How do we give users access to dashboards or a set of dashboards
    Can configure this through User Roles (link)

  • Should not have access to any admin-y tabs (Security, Manage, Sources, etc....) or be able to edit things
    Can configure this through User Roles (link)

  • Ideally they would have access to "Explore Chart" but not be able save an edited chart
    Can configure this through User Roles (link)

  • I'd like to see if there is a way to limit which facilities a certain user can see. For example... User ABC should only have access to data for the Iganga facility. Is there a way in Superset to prevent them from seeing other facilities? I'm not sure if it's related, but when setting up different users we have to specify a database username. The description of the field says Username valid for authentication on DB or LDAP, unused for OID auth. Technically we could set up roles in PostgreSQL so that queries for certain users only bring back data that meet certain criteria, but it's unclear to me if the Superset datasources are run per user or system wide.
    Can configure this through Row-Level Security, (link) but we may need to look into our Superset config to figure out why this ability is not loading for us. ([SIP-29] Add support for row-level security apache/superset#8644)

  • Is there 'chart' level security? For example... a user has access to a dashboard but not a specific chart on that dashboard.
    Might not be able to configure this - looks like we can give datasource level access, but it’s all or nothing (can’t exclude one chart/dash that uses that source)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Analytics Analytics Squad Work C-EBS C-EBS Use Case covid19 Issue is related to a covid-19 deployment or demo
Projects
Analytics Squad
  
In progress
Development

No branches or pull requests

2 participants