cube-js / cube

📊 Cube — Universal semantic layer platform for AI, BI, spreadsheets, and embedded analytics
https://cube.dev
Other
17.96k stars 1.78k forks source link

fix: fix data access policies condition logic #8976

Closed bsod90 closed 11 hours ago

bsod90 commented 1 day ago

Data access policies conditions should be joined via AND operator, but the initial implementation used OR by mistake

Check List

Issue Reference this PR resolves

[For example #12]

Description of Changes Made (if issue reference is not provided)

[Description goes here]

vercel[bot] commented 1 day ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

8 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **examples-angular-dashboard** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-angular-dashboard/64TbighojqKGCrSiU8o5TmCmGgq3)) | [Visit Preview](https://examples-angular-dashboard-git-fixdapconditions-cube-dev.vercel.app) | | Nov 20, 2024 9:42pm | | **examples-react-d3** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-d3/9Kz21JjZJhEEnpujCKwQTGU9CVGp)) | [Visit Preview](https://examples-react-d3-git-fixdapconditions-cube-dev.vercel.app) | | Nov 20, 2024 9:42pm | | **examples-react-dashboard** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-dashboard/2xekfy1LaNcVJuYsYUNUApFHN3DT)) | [Visit Preview](https://examples-react-dashboard-git-fixdapconditions-cube-dev.vercel.app) | | Nov 20, 2024 9:42pm | | **examples-react-data-table** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-data-table/GigmLn7h8evczA9j14cuQd1Jw7LN)) | [Visit Preview](https://examples-react-data-table-git-fixdapconditions-cube-dev.vercel.app) | | Nov 20, 2024 9:42pm | | **examples-react-highcharts** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-highcharts/7fHSERaWkyNCfaWxjekdKLq1qa2E)) | [Visit Preview](https://examples-react-highcharts-git-fixdapconditions-cube-dev.vercel.app) | | Nov 20, 2024 9:42pm | | **examples-react-material-ui** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-material-ui/2Kc635LbdZaRvg37uzL82oz48U7i)) | [Visit Preview](https://examples-react-material-ui-git-fixdapconditions-cube-dev.vercel.app) | | Nov 20, 2024 9:42pm | | **examples-react-pivot-table** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-react-pivot-table/8SaZm4EnVwvQsLtWex3x69EQP4G6)) | [Visit Preview](https://examples-react-pivot-table-git-fixdapconditions-cube-dev.vercel.app) | | Nov 20, 2024 9:42pm | | **examples-vue-query-builder** | ⬜️ Ignored ([Inspect](https://vercel.com/cube-dev/examples-vue-query-builder/5446rD3sHTEfZE9ubuD5M29VLo48)) | [Visit Preview](https://examples-vue-query-builder-git-fixdapconditions-cube-dev.vercel.app) | | Nov 20, 2024 9:42pm |