Repository navigation
fix: auto-disable subscriptions when the creator left or lost access #123649
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
Open
+516
−47
Open
Changes from 15 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
746fe27
fix(subscriptions): auto-disable when the owner left or lost access
a-lider 8b68ec9
fix(alerts): shorten owner disable reasons and clarify the owner check
a-lider b5c0aa5
fix(subscriptions): send the reason in the delivery, then disable
a-lider a02ae6b
fix(alerts): record owner disables as invalid_configuration
a-lider 68bd3ef
fix(alerts): move the owner check into the shared insight evaluator
a-lider 552d975
chore(subscriptions): make the test user a member of the temporal tea…
a-lider 7f8ddfb
fix(subscriptions): count a deleted owner and lost project access as …
a-lider 895d515
fix(subscriptions): deliver a partly denied dashboard, disable even w…
a-lider 620a1bb
fix(subscriptions): stop AI subscriptions whose owner can no longer r…
a-lider 4517b08
Merge remote-tracking branch 'origin/master' into alex/auto-disable-r…
a-lider 18bfe21
fix(subscriptions): stop when the owner can no longer view the dashbo…
a-lider 47cd10f
refactor(subscriptions): one owner check for background queries
a-lider b56f00e
fix(subscriptions): a member who lost the project lost access, not left
a-lider 150add7
chore(exports): read dashboard_id in the owner test
a-lider 9008fb5
fix(subscriptions): check project access through the facade
a-lider 3f9c518
refactor(subscriptions): raise inside the object access condition
a-lider 42c2a39
fix(subscriptions): read has_project_access as a property, keep trans…
a-lider d365dab
refactor(subscriptions): drop the disable closure in deliver_subscrip…
a-lider d1b0665
chore(subscriptions): stub the owner check in database-free delivery …
a-lider ac7b51b
fix(subscriptions): keep a transient send failure from disabling the …
a-lider bb87e9d
fix(alerts): check the owner on the per-series evaluation path too
a-lider 3c17c0d
fix(subscriptions): treat an ownerless subscription export as a delet…
a-lider 29e3273
Merge remote-tracking branch 'origin/master' into alex/auto-disable-r…
a-lider File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.