-
Notifications
You must be signed in to change notification settings - Fork 13.8k
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
fix: permission checks on import #23200
Conversation
10fd64a
to
3c44a54
Compare
Codecov Report
@@ Coverage Diff @@
## master #23200 +/- ##
==========================================
+ Coverage 67.50% 67.56% +0.06%
==========================================
Files 1899 1898 -1
Lines 73322 73149 -173
Branches 7930 7882 -48
==========================================
- Hits 49494 49425 -69
+ Misses 21796 21705 -91
+ Partials 2032 2019 -13
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 18 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
dd5f2ab
to
0bfe810
Compare
0bfe810
to
3e52f11
Compare
@betodealmeida I'm packaging up 2.1 today, but if there's another RC we can try to get it in, otherwise we'll aim for 2.1.1 |
45c6019
to
b4fe017
Compare
b4fe017
to
da8a999
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
SUMMARY
When importing assets (databases, datasets, charts, dashboards), ensure that the user has the proper permissions to create the assets. Otherwise a user who can only create charts is able to import a chart and have a dataset and databases added.
@eschutho, @dpgaspar said it would be nice if we could include this in 2.1.0, not sure if there's still time.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TESTING INSTRUCTIONS
Updated and added unit tests.
ADDITIONAL INFORMATION