BelPal safety policy

Owner: Nikola Obradović, product owner · Last reviewed: 15 September 2026 · Legal review: not yet done — see §10

The decisions behind this document (D1–D4) were settled on 14 September 2026 and are analysed in backend/03-age-policy.md. This is the safeguarding document itself: what the rules are, what happens when someone reports something, and what is kept after an account is gone.

A note on tense. Some rules below are live in the database today; others are commitments whose enforcement ships in a named step. Each section says which it is. Nothing here describes a control as working when it is not — a safety policy that overstates itself is worse than none, because people rely on it.


The one-line version

BelPal is an 18+ platform, permanently. There is no teen tier and no age band to compute, so there is no case where a minor and an adult meet on this service.


1. Minimum age

18. Live today.

A date of birth is collected at onboarding and stored; an age integer never is. The floor is enforced in four places, which must agree:

Where How Since
complete_onboarding() refuses a date of birth under 18 years old, against the server's clock Step 9
profiles date_of_birth date not null; adult_from generated as date_of_birth + 18 years Step 11
profiles_select RLS another person's row is readable only while adult_from <= current_date Step 11
plans check (minimum_age >= 18), default 18 Step 12

A client clock cannot influence any of these. An account that is somehow not yet an adult is invisible to everyone but itself.

Legal basis. The age of digital consent under Serbian data-protection law is 15. An 18+ floor sits above it, so parental consent never arises and there is no open legal question on the number itself.

2. Band separation

Not applicable, by construction. Live today.

There is no minor tier to separate from, so there is no visibility rule, no "same age band" predicate, and no mixed activity to govern. The machinery that used to express this — community on profiles and plans, ageBandFor, canShareActivity, selectActivityVisibleUser — was deleted rather than configured off, in 20260914120000_adults_only.sql and across the frontend.

This matters for the incident that prompted the policy: a 24-year-old being shown a 17-year-old cannot recur, because there are no 17-year-olds to show.

If minors are ever admitted, this section is rewritten from scratch with a fresh safeguarding review. It is not a flag flip.

3. Crossing 18

Not applicable. No account below 18 exists, so no account crosses the line while using the service.

Decision D5 is recorded as not applicable. Step 40 offered three options for what becomes of a teen's friendships, groups and activities on the night they turn 18 — sever them, grandfather them, or notify and lapse them. None can arise. D3 removed the teen band from the schema itself: the community enum is gone, plans.community with it, and onboarding refuses a date of birth under 18 years old. There are no cross-band friendships to lapse, no teen groups to leave, and no teen-hosted activity to transfer. The step's daily cron, its lapse schedule and its explanatory screen are all unbuilt on purpose, and would only return if §9 ever did.

The mechanism that makes this true anyway: adult_from is a generated column and every check reads adult_from <= (now() at time zone 'Europe/Belgrade')::date, evaluated per query. Nothing is frozen at signup and no scheduled job has to catch up on a birthday.

Belgrade, not UTC. Until 17 September 2026 those checks read current_date, which is the session's date and therefore UTC, while the rest of the schema was explicit about Belgrade. Between Belgrade midnight and 02:00 on your 18th birthday you would have been refused at onboarding and accepted an hour later. It never admitted anyone early — the error only ever pointed the safe way — and it is fixed.

4. Age assurance

Self-declared date of birth, immutable after onboarding. Live today.

Self-declaration is what this is, and the document says so rather than implying more. Three controls carry the weight:

  1. Immutability. complete_onboarding() writes the date of birth only while onboarded_at is null, and no other path exposes the column. Changing it is a support action with a record, not a profile edit — nobody edits their way across the line.
  2. underage-concern is a real report reason (§5), routed to a queue rather than a dropdown that writes nothing.
  3. No fake verification. The old verified boolean was set by a simulated selfie check. It is renamed photo_verified, and nothing sets it. A boolean that claims verification without performing one is worse than no boolean.

Document- or provider-based age assurance is not a launch requirement while the floor is 18 and minors are excluded by design. If that floor ever drops, it becomes one.

5. Reports

Reasons — spam, harassment, unsafe-behavior, underage-concern, offered on both profiles and activities.

Status: live. Reports are stored, the queue exists and every action below is recorded with who took it. The response targets are binding from the day a reviewer is on rotation; until someone is named on that rota the queue is built but unmanned, and this line says so rather than implying otherwise.

Who reviews The founding team, on rotation, until there is a dedicated moderator. Named in the queue's on-call note, not here, so this file does not go stale.
First response target 24 hours for any report. 4 hours for underage-concern and anything alleging harm to a person.
Powers Suspend the account, remove the activity, remove the message, permanently ban. Suspension is reversible and is the default first action.
Record Every action is written with the actor and the reason. Nothing is resolved by a private decision.
Reporter feedback The reporter is told the report was received and when it is closed. They are never told what action was taken against the other person.

Reporting someone does not block them, and blocking someone does not report them. They are separate actions on purpose: one is about your experience, the other is about ours.

6. Blocking

Mutual invisibility, never disclosed. Live today, in the database.

blocked_with(other) is symmetric — it matches a block in either direction — and it is consulted by the row policies on profiles and by join_plan(). The blocked person is never told a block exists: no notice, no error naming it, and no difference between "blocked you" and "no longer exists". Unblocking is available to the person who blocked, in Settings → Privacy.

A block does not delete the history that already exists between two people; it stops what happens next.

7. Location privacy

Exact location after joining only. Partly live.

  • Live today: plan_exact_locations is a separate table with its own policy. The exact address is readable only by the host, by a joined member, or when the host has explicitly marked the activity's location as public.
  • Ships in Step 16: coordinates shown to everyone else are jittered, so a map pin does not reveal a home address before anyone has been accepted.

Until Step 16 lands, the coarse coordinates on an activity are the ones the host entered, so hosts should be told not to pin their own front door. That instruction belongs on the create-activity screen and is part of Step 16's work.

8. Retention and deletion

Status: live. Deleting an account runs in two phases.

Straight away, the moment you confirm:

  • Your profile, photo and interests stop being visible to anyone. You disappear from search, suggestions, rosters and friend lists.
  • Activities you host are cancelled, and everyone going is told. They are not deleted out from under people who arranged their evening around them.
  • Spots you were holding on other people's activities are freed immediately.
  • Friendships go in both directions, and pending friend requests in either direction go with them.
  • Every session, on every device, is signed out.

After 30 days, permanently: the authentication record and the profile, and with them your memberships, ratings about you, notifications and the activities you hosted.

The 30 days are deliberate. An account deleted in anger, or by someone who got into it, is the case a deletion flow has to survive. Signing in during the window asks whether you meant it — it never restores silently. Cancelled activities are not brought back.

What deliberately survives your account:

  • Your messages stay in other people's conversations, shown as a deleted account rather than removed. Deleting one side of a conversation must not erase the other side's history.
  • Ratings you wrote stay with the person they were about, anonymised. Ratings about you go.
  • Blocks other people raised against you stay. Someone who blocked you should not have that undone by your leaving.
  • Reports and the moderation actions taken on them are kept for 12 months, with the reported person's identifiers pruned. A ban that cannot be evidenced is a ban that gets argued away.

Deletion reaches the uploaded photos too. Thirty days after an account is deleted the nightly purge removes its files from both storage buckets before it removes the account itself, so the links stop resolving rather than merely stopping being shown. Until September 2026 this was an open gap, recorded here as one; it is closed.

Authentication records follow Supabase's own deletion. There is no separate copy of an email address anywhere in the application schema.

9. Launch gate for minors

There isn't one. D3 was answered "no minors at launch, and not later either" — stronger than the "ship it flagged off" option that was tabled.

Admitting anyone under 18 would require, before a single account is created: a new safeguarding review; age assurance stronger than self-declaration; a separation model with its own RLS policies and tests; a moderation capacity plan sized for it; and legal sign-off on parental consent under Serbian law. That is a new project, and this document would be replaced rather than amended.

10. What this document still needs

Stated plainly so nobody assumes otherwise:

  • Legal review of these retention periods and of the terms of service. Not of the age floor — that one is settled.
  • Step 16 for the location jitter in §7.
  • A named on-call rotation once there is more than one reviewer.

Every claim above was checked against the schema and the frontend on 17 September 2026. Steps 37, 38, 39 and 40 have since landed and are reflected here; Step 16 has not. When behaviour changes, this file changes in the same pull request — a stale safety policy is worse than none, because people rely on it.

On this page

  • The one-line version
  • 1. Minimum age
  • 2. Band separation
  • 3. Crossing 18
  • 4. Age assurance
  • 5. Reports
  • 6. Blocking
  • 7. Location privacy
  • 8. Retention and deletion
  • 9. Launch gate for minors
  • 10. What this document still needs