Leaders Insights
Leaders Insights

Stay at the top of your field, a little every day.

DomainsMarketingDataFinanceAI
ResourcesLearnTestToolsBlogGlossary
© 2026 Leaders Insights — All rights reserved.
Tracks/Data in SaaS/Governance, privacy and checks/Privacy law for SaaS builders: GDPR, CCPA, and beyond
1/4+150 XP

Governance, privacy and checks

10Privacy law for SaaS builders: GDPR, CCPA, and beyond+15011Data residency and cross-border transfers for multi-tenant apps+15012Consent, purpose limitation, and the AI feature trap+15013Running a privacy and access audit on your data stack+150

Privacy law for SaaS builders: GDPR, CCPA, and beyond

# Privacy law for SaaS builders: GDPR, CCPA, and beyond

A customer emails your support inbox: "Send me all the data you have on me, and delete my account." Your support rep forwards it to engineering. Now someone has to find that person's data across Stripe (payments), Salesforce (CRMCRMCustomer Relationship Management: software and strategy to manage and analyse customer interactions throughout their lifecycle.View full definition →), Segment (event tracking), and a Snowflake warehouse feeding your analytics dashboards. This is a Data Subject Access Request (DSAR), and under GDPR you have 30 days to respond. Most mid-market SaaS companies discover, at that moment, that nobody actually knows where all the personal data lives.

This lesson walks through why that happens and how to fix it before the request lands.

The regulatory landscape, briefly

GDPR (General Data Protection Regulation) is the EU's data protection law, in force since 2018, enforced by national Data Protection Authorities (DPAs) coordinated loosely under the European Data Protection Board. It applies to any company processing personal data of people in the EU, regardless of where the company is based.

CCPA (California Consumer Privacy Act), amended and expanded by the

CPRA
(California Privacy Rights Act, effective 2023), gives California residents similar rights. It's enforced by the California Privacy Protection Agency (CPPA). Other US states (Virginia, Colorado, Connecticut, Utah, and a growing list as of 2026) have passed their own, similar but not identical, privacy laws.

Key point for builders: these laws are not the same, but they rhyme. Both give individuals rights over their data. Both require you to know what you hold and where.

The rights that actually drive engineering work

  • Right of access: give the person a copy of their data (GDPR Art. 15, CCPA "right to know").
  • Right to erasure: delete it on request (GDPR Art. 17 "right to be forgotten," CCPA "right to delete").
  • Right to rectification: fix inaccurate data.
  • Right to portability: export data in a usable format.
  • Right to opt out of sale/sharing (CCPA specific): relevant if you share data with ad networks or data brokers.

Each of these is a technical workflow, not just a legal policy. That's the part non-technical teams underestimate.

Where it bites: the multi-tenant reality

Most SaaS products are multi-tenant: one codebase and often one database schemadatabase schemaA schema is the formal blueprint that defines how data is structured, named, typed, and related within a database, file, or message.View full definition → serves many customer organizations, with rows tagged by a tenant_id or account_id. This is efficient for engineering but complicates privacy work in two ways.

First, personal data sprawls across systems that don't share a common ID. A user's email might be the key in Salesforce, a customer_id in Stripe, an anonymous user_id in Segment that only later gets identified, and a hashed value in your warehouse for analytics. Answering "what do we know about this person" means resolving identity across all four.

Second, deletion is not simple deletion. Stripe retains transaction records for tax and accounting law reasons (in the US, generally 7 years is a common retention practice; in the EU, national tax codes often require similar periods). You cannot delete a paid invoice just because someone files a GDPR erasure request. GDPR itself carves out this conflict: Article 17(3) allows retention where required by law. So "delete everything" really means "delete or anonymize what you're allowed to, document what you're not."

Walking the actual request

1. Identify the person. Match the email in the DSAR to internal IDs across Stripe (customer object), Salesforce (contact record), Segment (identified user traits), and warehouse tables (via a resolved identity graph, if one exists).

2. Pull the data. Stripe has an APIAPIApplication Programming Interface: a standardised interface that lets applications communicate and exchange data without knowing each other's internal workings.View full definition → for exporting a customer's object and charges. Salesforce exports contact and activity history. The warehouse is the hard part: personal data may be scattered across dozens of tables from years of ad hoc pipelines.

3. Apply exceptions. Financial records tied to tax obligations stay. Anything not legally required to be retained goes.

4. Respond within the deadline. 30 days under GDPR (extendable once by 60 more days for complex requests). CCPA gives 45 days, extendable once by another 45.

5. Log the whole thing. Regulators can ask you to prove you have a process, not just that you handled one request well.

A minimal technical check: can you even find the person?

A simple diagnostic before any regulator asks: run this kind of query against your warehouse and see how long it takes, and how many tables you have to touch.

sql
-- crude example: find every table referencing a given user
-- (run against warehouse metadata, e.g. Snowflake's INFORMATION_SCHEMA)
SELECT table_schema, table_name, column_name
FROM information_schema.columns
WHERE column_name ILIKE ANY ('%email%', '%user_id%', '%customer_id%')
ORDER BY table_schema, table_name;

If this returns 60 tables across five schemas with no data lineagedata lineageData lineage maps how data moves and transforms across systems, from origin to consumption, showing where it came from, what changed it, and where it goes.View full definition → documentation, that's your governance gap. Mature teams solve this with a data catalogdata catalogA centralized inventory of an organization's data assets, enriched with metadata, that helps people find, understand, and trust the data they need.View full definition → (tools like Atlan, Collibra, or open-source OpenMetadata) that tags columns containing personal data (PII, personally identifiable information) and tracks lineage from source to dashboard.

Data governanceData governanceData governance is the set of policies, roles, and processes that ensure data is accurate, secure, well-defined, and used responsibly across an organization.View full definition →: the boring infrastructure that saves you

Governance is the set of policies and controls determining who can access what data, for how long, and why. For SaaS specifically, three practical checks matter most:

Data mapping. A living document (not a one-time PDF) listing every system that touches personal data, what it holds, its legal basis for processing (GDPR requires one: consent, contract, legitimate interest, etc.), and retention period. The UK Information Commissioner's Office has a free, practical guide to this: ICO's guide to data mapping.

Retention schedules enforced in code, not policy documents. If your privacy policy says "we delete inactive accounts after 2 years" but no cron job actually does that, you have a compliance gap and a discoverable one in litigation.

Access audits. Regularly review who inside your company (not just external processors) can query raw customer data. A support engineer with unrestricted warehouse access to production PII is a common finding in security reviews and a real GDPR "data minimization" violation (Article 5(1)(c): only process what's necessary).

Knowledge check

1. A SaaS company is based entirely in the US but has customers who are individuals located in the EU. Under GDPR, what determines whether the law applies to this company?

2. Why does a Data Subject Access Request (DSAR) often become a scramble at mid-market SaaS companies, according to the lesson?

3. A company operates only in California and has no EU customers. Why might it still need to think about GDPR-style rights (access, deletion, portability) rather than just CCPA?

MULTIPLE CHOICE

4. Select ALL correct answers about the individual rights described in the lesson that create engineering obligations for SaaS companies.

Select all the correct answers.

MULTIPLE CHOICE

5. Select ALL correct answers about why privacy laws like GDPR and CCPA are described as 'not the same, but they rhyme.'

Select all the correct answers.

Vendors are part of your compliance surface

Under GDPR, Stripe and Salesforce are your data processors; you are the data controller (the entity deciding why and how data is processed). You need a Data Processing Agreement (DPA) with each vendor, standard in their enterprise contracts. But the DPA doesn't absolve you: if Salesforce mishandles data because you configured it wrongly (e.g., made a report public), you're still liable to the regulator.

This is why "we use compliant vendors" is not the same as "we are compliant." A 2023 enforcement pattern from EU DPAs: several companies were fined not because their cloud vendor was insecure, but because of their own misconfiguration (public S3 buckets, over-permissive Salesforce sharing rules).

Fines are real and material. GDPR maximum penalties are up to €20 million or 4% of global annual revenue, whichever is higher (this is a legal ceiling, not a typical fine; actual fines vary widely by case and severity, per the European Data Protection Board's enforcement records). CCPA/CPRA fines are lower per violation (roughly $2,500 per unintentional violation, $7,500 per intentional one, as amounts set by California statute, subject to periodic adjustment) but multiply fast at consumer-data scale, since each affected individual can count as a separate violation.

The practical audit checklist

For a data or product leader assessing SaaS privacy readiness, run through:

  • Can you produce a full data mapmapUsing software to automate repetitive marketing tasks and campaigns, enabling personalisation at scale across channels like email, web, and social.View full definition → showing where personal data lives, within a day, not a week?
  • Do you have a documented, tested DSAR workflow with an owner and an SLA?
  • Are retention periods enforced by automated jobs, not just policy text?
  • Do you have signed DPAs with every processor touching personal data (payment, CRMCRMCustomer Relationship Management: software and strategy to manage and analyse customer interactions throughout their lifecycle.View full definition →, analytics, email, support tools)?
  • Is warehouse access to raw PII role-restricted and logged?
  • Do you have a documented legal basis for each category of processing?

Key Takeaways

  • A DSAR is a systems problem before it's a legal one: you must resolve identity across payment, CRMCRMCustomer Relationship Management: software and strategy to manage and analyse customer interactions throughout their lifecycle.View full definition →, event, and warehouse systems that rarely share a common key.
  • "Delete" is not absolute. Legal retention obligations (tax, accounting) can override erasure requests; document the exceptions rather than deleting everything or nothing.
  • GDPR and CCPA/CPRA differ in mechanics (deadlines, fine structures, enforcement bodies) but both require you to know what data you hold and why, which is fundamentally a data governancedata governanceData governance is the set of policies, roles, and processes that ensure data is accurate, secure, well-defined, and used responsibly across an organization.View full definition → capability.
  • Vendor contracts (DPAs with Stripe, Salesforce, etc.) manage legal risk but don't eliminate it; misconfiguration on your side is a common, real cause of enforcement action.
  • Build the boring infrastructure early: a maintained data , automated retention jobs, and access audits are cheaper than reconstructing them under a regulator's deadline.

Next

Data residency and cross-border transfers for multi-tenant apps

mapmapUsing software to automate repetitive marketing tasks and campaigns, enabling personalisation at scale across channels like email, web, and social.View full definition →