Repository navigation
fix: hide Create scheduled report... in the Export menu on public URLs - #10076
Merged
Merged
Conversation
Public URLs authenticate with a magic token that only grants viewing and exporting, so "Create scheduled report..." returned a 403 when clicked. Expose the runtime client's auth context and hide the option when it is "magic".
AdityaHegde
approved these changes
Oct 28, 2026
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.
Public URLs (
/-/share/rill_mgc_...) only grant viewing and exporting, but the Export menu in the dimension table, time dimension detail and pivot views still offered Create scheduled report..., which failed with a403when used.authContextonRuntimeClient(it was already tracked privately and is"magic"on public URL pages).ExportMenuhides the scheduled report option, and skips loading the dialog, when the auth context is"magic".Steps to reproduce (before this change):
403.Closes APP-955
Checklist: