superset icon indicating copy to clipboard operation
superset copied to clipboard

Can not add a table for the role

Open burlakabogdan opened this issue 9 years ago • 1 comments

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

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

Superset version

{"GIT_SHA": "", "version": "0.18.2"}

Expected results

Successfully adding a table for the role

Actual results

Can not add a table for the role

Steps to reproduce

Greetings. I added the table via the SQL Lab tab.

default

From this table I managed to make slices and dashboards. Now I want to add a view of these dashboards to another user. I copy the gamma role, open the list of access rights for this role, but unfortunately I can not add the table I created earlier. She's not on the list. default

But it is in the database.

default

The last ID in the drop-down list is 43, in the database itself 45. Please note. In the database, there are no 43 in the table, there are 44, 45. That is how it should be? If you have time, tell me why? Thank you.

burlakabogdan avatar May 29 '17 07:05 burlakabogdan

Resolved after executing the commands:

superset db upgrade
superset init

burlakabogdan avatar Jun 01 '17 07:06 burlakabogdan