RideKit
Docs/Reference/Data protection: transfers abroad and a person's copy of their data

Data protection: transfers abroad and a person's copy of their data

Built: 2026-11-02. For the operator, and for whoever maintains the code.

Saudi Arabia's PDPL has been enforceable since September 2024. Like India's DPDP Act and Brazil's LGPD, it asks an operator two things this release answers:

  1. Where does personal data go, and on what basis? SDAIA's 2025 transfer guideline asks for a basis and a documented risk assessment before personal data leaves the Kingdom. Acceptable bases include an adequacy decision, SDAIA's standard contractual clauses and the person's consent.
  2. Can a person get a copy of what you hold about them? That is the right of access, in a form they can keep and take elsewhere.

Admin → Data protection (Configuration)

  • Data residency. The market's rule: Saudi Arabia and India require data to stay in the country. Hosting guidance is in docs/deployment/README.md, in the section "Where personal data lives".

  • Transfer register. One row per integration the platform can use. Each row shows:

    • the personal data it receives;
    • whether it is in use (configured under Providers, or always on, like maps and push);
    • where it processes data. A destination is filled in only where it is a fact about the service; otherwise the row says "Confirm with the provider".
    • the basis you recorded and the date of your risk assessment.

    An in-use transfer that leaves the residency country without a recorded basis and assessment shows Needs an assessment, and is counted in "Transfers to look at".

  • A copy of a person's data. Find the person by phone number or email and download a full copy (JSON). Every copy given, from the app or from here, is listed under Copies given.

In the apps (rider and driver: Menu → Privacy & your data)

Your rights is shown in every market now. Before, it appeared only where the app asked for consent (India). It offers:

  • see what we hold about you;
  • Download my data;
  • correct your details;
  • delete your account and data.

Download my data opens a 15-minute link in the phone's browser, which shows the full copy. From there, Share → Save keeps it as a file. At most 5 downloads can be made a day.

What a copy contains

  • the profile;
  • trips taken and trips driven (times, places, fare, payment method);
  • messages sent and ratings given;
  • trusted contacts;
  • driver documents on file (type, status and dates, but not the files);
  • vehicles;
  • money movements;
  • every consent given;
  • devices.

Other people's details are left out. A driver's copy lists their trips, but not their riders.

Legal check needed. Confirm with counsel:

  • the destinations, and the basis for each transfer;
  • whether your hosting meets the residency rule;
  • the response time you commit to for access requests (PDPL: 30 days).

For developers

Piece Where
Register catalog, statuses, validation backend/src/privacy/data-transfers.ts
Export, links, log, register privacy/data-protection.service.ts
API POST /me/privacy/export (link); GET /privacy/export/:token (the copy, public, token is the credential); /admin/data-protection/transfers, /requests, /users?q=, /users/:id/export
Data data_transfers, privacy_requests (migration 127). The same migration sets SA dataResidency.required.
Admin app/(dashboard)/data-protection/page.tsx
Apps app/(app)/privacy.tsx (rights block), src/lib/privacy.ts exportLink
Tests privacy/data-protection.spec.ts

Tested end to end

Chrome, admin, with the install switched to Saudi Arabia:

  • the residency KPI showed SA as required;
  • Google Maps showed "Needs an assessment" until a basis and assessment date were recorded, then "Recorded", and the open count dropped;
  • a rider's copy was downloaded (120 trips, consents, money, and no driver details);
  • the log showed "Downloaded by Platform Admin".

iOS simulator (rider):

  • "Your rights" appeared in a market with no consent step, which was the bug this release fixed;
  • Download my data opened the copy in Safari.

Android emulator (driver):

  • Download my data opened the copy in Chrome;
  • the copy listed trips driven, with no rider details.
source: docs/data-protection.md (ships identically in the product zip)