cube icon indicating copy to clipboard operation
cube copied to clipboard

Add ability to look at cube meta during queryRewrite

Open rccoe opened this issue 3 years ago • 10 comments

Is your feature request related to a problem? Please describe. When setting up row-level permissions, I want to make sure that any query on a cube with a tenant id dimension is re-written to filter for that tenant ID

Describe the solution you'd like The queryRewrite function should be passed a parameter that lists out all cubes and allows to inspect the dimensions + measures on those cubes

Describe alternatives you've considered The alternative is maintaining a list of cubes manually. This gets tedious especially when extending cubes.

rccoe avatar Feb 17 '22 21:02 rccoe