-
Notifications
You must be signed in to change notification settings - Fork 14k
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: Don't let users see dashboards only because it's favorited #24991
Merged
lilykuang
merged 5 commits into
apache:master
from
preset-io:jack/dont-show-dashboard-in-list-view-only-because-favorited
Aug 18, 2023
Merged
fix: Don't let users see dashboards only because it's favorited #24991
lilykuang
merged 5 commits into
apache:master
from
preset-io:jack/dont-show-dashboard-in-list-view-only-because-favorited
Aug 18, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
michael-s-molina
approved these changes
Aug 16, 2023
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.
LGTM. Thanks for the fix @jfrag1!
michael-s-molina
added
the
v3.0
Label added by the release manager to track PRs to be included in the 3.0 branch
label
Aug 16, 2023
lilykuang
deleted the
jack/dont-show-dashboard-in-list-view-only-because-favorited
branch
August 18, 2023 00:35
michael-s-molina
added
v3.0
Label added by the release manager to track PRs to be included in the 3.0 branch
and removed
v3.0
Label added by the release manager to track PRs to be included in the 3.0 branch
labels
Aug 18, 2023
michael-s-molina
pushed a commit
that referenced
this pull request
Aug 18, 2023
(cherry picked from commit 258e562)
mistercrunch
added
🍒 3.0.0
🍒 3.0.1
🍒 3.0.2
🍒 3.0.3
🍒 3.0.4
🏷️ bot
A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels
🚢 3.1.0
labels
Mar 8, 2024
vinothkumar66
pushed a commit
to vinothkumar66/superset
that referenced
this pull request
Nov 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
I initially was looking into this due to this issue: #19849, however I found the issue was mostly fixed on master. Access to charts and datasets of the dashboard is revoked when the role is revoked. However, favorited dashboards that the user shouldn't have access to otherwise still show up on the dashboard listview, which I think is undesired since trying to click on that dashboard then results in an error.
This PR makes it so that favorite status is not taken into consideration by the list dashboards endpoint.
Fixes #19849
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION