superset icon indicating copy to clipboard operation
superset copied to clipboard

Bug: Saving Slice by other than admin user "overwrite slice" is disabled however that slice can be added in any dashboard which should also be restricted

Open dataneta opened this issue 8 years ago • 1 comments

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

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

Superset version

0.21

Expected results

Saving slice by other than admin users, just not "overwrite slice" should be disabled but "adding that slice to dashboard created by admin" should also be disabled.

Actual results

Saving slice by other than admin users, just not "overwrite slice" is disabled but "adding that slice to dashboard created by admin" is enabled. So other user can also add slice to dashboard created by admin.

Steps to reproduce

Create a slice from other user than admin. Click on "save as" You will find "add it to dashboard" is enabled

dataneta avatar Dec 13 '17 14:12 dataneta

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Apr 11 '19 05:04 stale[bot]