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

Tables/charts are not listed for custom-role user. #8927

nellyblu opened this issue Jan 6, 2020 · 1 comment

Tables/charts are not listed for custom-role user. #8927

nellyblu opened this issue Jan 6, 2020 · 1 comment


Copy link

@nellyblu nellyblu commented Jan 6, 2020

User with custom role + gamma can create a table, but this table is not listed. Same for charts.
For Dev version 0.999 it works, i.e. the tables are listed. With 0.35.1 version, with same configuration, the tables and charts are not listed.

Expected results

Permitted and created tables and charts are listed for the custom user.

Actual results

Permitted and created tables and charts are not listed for the custom user (for version 0.35.1). For dev version 0.999 it is listed.


If applicable, add screenshots to help explain your problem.

How to reproduce the bug

  1. Create a custom role:
    nelly1r | [can delete on TableModelView, can edit on TableModelView, can show on TableModelView, can add on TableModelView, can list on TableModelView, refresh on TableModelView, schema access on [small-aurora].[nelly1], database access on [small-aurora].(id:2)]
  2. Create a custom user nelly1 with Gamma and nelly1r roles - ok
    2.1 Login with nelly1 user - ok
  3. Create a table source tbl_src, referring to [small-aurora].[nelly1].tbl1 - ok
  4. Create a chart, referring to tbl_src, created above - ok
  5. A new dashboard is created and can be shown - ok
  6. Go to Sources/Tables - empty list - problem in 0.35.1
  7. Charts - also empty - problem in 0.35.1


(please complete the following information):

  • superset version: 0.35.1
  • python version: 3.6.9
  • node.js version: node -v
  • npm version: npm -v


Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

@issue-label-bot issue-label-bot bot added the #bug label Jan 6, 2020

This comment has been minimized.

Copy link

@issue-label-bot issue-label-bot bot commented Jan 6, 2020

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.87. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.