-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
Runtime: Add property for disabling caching #80245
Conversation
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
@aangelisc @mckn it's not necessary to introduce a new properly, since there's existing property
Cache should be disabled regardless whether it's Azure user authentication or "Forward OAuth Identity": |
@kostrse pasting my response here for brevity: I'd rather have a distinct property which is why the new one has been added, data sources may decide to disable caching even when they have |
* Add property for disabling caching * Lint
As a part of implementing user-based authentication, it is necessary to disable caching for security reasons. Caching should be disabled at a data source level based on the configuration of the data source.
In order to support this, an additional property has been added to the data source JSON data that will indicate to the caching service whether or not a data source instance supports caching.
Part of grafana/grafana-enterprise-mirror-shared-microsoft#170
Fixes #85634