cube icon indicating copy to clipboard operation
cube copied to clipboard

Make scheduledRefreshTimeZones aware of the security context

Open igorlukanin opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe. Currently, scheduledRefreshTimeZones accepts an array of time zones. Thus, in a multitenant context, pre-aggregations for all tenants will be multiplied by the number of specified time zones.

Describe the solution you'd like scheduledRefreshTimeZones should also accept a function (which, in turn, will accept securityContext as an argument) and return an array of time zones.

Describe alternatives you've considered —

Additional context This was requested at the recent workshop.

igorlukanin avatar Jul 28 '22 10:07 igorlukanin