Skip to content

Make scheduledRefreshTimeZones aware of the security context #5015

@igorlukanin

Description

@igorlukanin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementLEGACY. Use the Feature issue type insteadpre-aggregationsIssues related to pre-aggregations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions