cube-js/cube

Add ability to look at cube meta during queryRewrite

Open

#4,118 建立於 2022年2月17日

在 GitHub 查看
 (11 留言) (13 反應) (0 負責人)Rust (1,965 fork)batch import
configurationhelp wanted

倉庫指標

Star
 (19,563 star)
PR 合併指標
 (平均合併 5天 16小時) (30 天內合併 138 個 PR)

描述

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.

貢獻者指南