core icon indicating copy to clipboard operation
core copied to clipboard

Include the customer_id as filter automatically in each request

Open freddyDOTCMS opened this issue 1 year ago • 0 comments

Parent Issue

No response

Problem Statement

The Analytics environments is going to be share for different customer so we need to filter by the current customer_id when we are running a query.

Also we need to include the custo,er_id field in the CubeJS schema.

Steps to Reproduce

  • Add or Update some data manually into the Clickhouse Events table to set a different customer_id
  • Run a query and check that the data with the new customer_id is retrieve even when the Analytics App is configure for customer1

Acceptance Criteria

When we run a query we must get just data for the current customer

dotCMS Version

latest

Proposed Objective

Core Features

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

No response

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

freddyDOTCMS avatar Oct 18 '24 21:10 freddyDOTCMS