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

chore: Remove unused sliceCanEdit logic #24312

Merged
merged 2 commits into from
Jun 8, 2023

Conversation

john-bodley
Copy link
Member

@john-bodley john-bodley commented Jun 7, 2023

SUMMARY

#24266 is failing as—for some unknown reason—the can_slice permission is missing. It turns out—thanks to help from @michael-s-molina—that the permission is unused (outside of testing). This PR removes the unused logic which in turn should hopefully unblock #24266.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

CI.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@john-bodley john-bodley requested a review from a team as a code owner June 7, 2023 18:19
@codecov
Copy link

codecov bot commented Jun 7, 2023

Codecov Report

Merging #24312 (4d27e28) into master (9c7b8b8) will decrease coverage by 0.09%.
The diff coverage is n/a.

❗ Current head 4d27e28 differs from pull request most recent head cfb09ea. Consider uploading reports for the commit cfb09ea to get more accurate results

@@            Coverage Diff             @@
##           master   #24312      +/-   ##
==========================================
- Coverage   68.33%   68.24%   -0.09%     
==========================================
  Files        1957     1957              
  Lines       75627    75626       -1     
  Branches     8225     8224       -1     
==========================================
- Hits        51679    51613      -66     
- Misses      21835    21900      +65     
  Partials     2113     2113              
Flag Coverage Δ
hive ?
javascript 54.76% <ø> (-0.01%) ⬇️
mysql 78.92% <ø> (ø)
postgres 79.00% <ø> (ø)
presto 53.32% <ø> (ø)
python 82.64% <ø> (-0.18%) ⬇️
sqlite 77.53% <ø> (ø)
unit 53.44% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
superset-frontend/src/dashboard/actions/hydrate.js 2.04% <ø> (ø)
...end/src/dashboard/components/SliceHeader/index.tsx 90.56% <ø> (-0.18%) ⬇️
...dashboard/components/SliceHeaderControls/index.tsx 69.79% <ø> (ø)
.../src/dashboard/components/gridComponents/Chart.jsx 57.52% <ø> (ø)
...perset-frontend/src/dashboard/containers/Chart.jsx 75.00% <ø> (ø)

... and 4 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Member

@michael-s-molina michael-s-molina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@john-bodley john-bodley merged commit 69c2cd5 into master Jun 8, 2023
@john-bodley john-bodley deleted the john-bodley--remove-slice-can-edit branch June 8, 2023 16:25
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 3.0.0 labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/S 🚢 3.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants