cube-js/cube

Add ability to look at cube meta during queryRewrite

オープン

#4,118 opened on 2022/02/17

 (11 件のコメント) (13 件のリアクション) (0 人の担当者)Rust (1,965 件のフォーク)batch import
configurationhelp wanted

Repository metrics

Stars
 (19,563 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド