cube
cube copied to clipboard
Make scheduledRefreshTimeZones aware of the security context
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.