Fix/saved views ownership idor#2056
Open
shravanithouta108 wants to merge 7 commits into
Open
Conversation
utksh1
requested changes
Jul 24, 2026
utksh1
left a comment
Owner
There was a problem hiding this comment.
This combines unrelated AI-summary behavior, Dashboard polling, saved-view sharing/migrations, reporting, and test changes. Please split it into focused PRs per issue and remove unrelated files from each branch; the current backend-unit failure must also be resolved before any portion can merge.
shravanithouta108
force-pushed
the
fix/saved-views-ownership-idor
branch
from
July 24, 2026 12:05
ba303f2 to
b9cee45
Compare
This file contains hidden or 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
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.
Description
saved_viewshad nosharedflag, so there was no way for teams to publishviews without exposing them to IDOR risk. Added a
sharedboolean column andmigration so owners can publish views team-wide. Non-owners can read shared
views but cannot modify or delete them (returns 403). Private views remain
invisible to other users entirely.
Related Issues
Closes #1879
Type of Change
How Has This Been Tested?
pytest testing/backend -q— all passedChecklist