Feature Flags

The canonical index of every GrowthBook flag and environment toggle the User Service evaluates. Behaviour detail lives on the linked domain pages. Checked in is the file where the value is read.

GrowthBook

Flag Type Gates Checked in

global.tiers.config

object (per user): tier → current_version, versions[] (version_name, display_name, price.monthly)

Which tiers exist and at what price; the BASE default membership; upgrade, downgrade and reactivation tier validation — Tier configuration

pkg/api/membership_tiers.go, pkg/api/memberships.go, pkg/api/reactivations.go

paused_states

string list (state codes)

States whose users may pause their membership — Pause eligibility

pkg/api/membership_pausing.go

gdpr_signals_enabled

bool, default true

Master switch for the Iterable, AppsFlyer and Segment GDPR calls — Vendor signals

pkg/cleanup/cleanup.go

Environment Toggles

Set per environment by deploy/lambda.tf.

Variable test prod Gates Checked in

USE_LEGACY_ONLY

true

true

User records read and written in RDS only; DynamoDB USER rows and USER_* Kinesis events only when false — DynamoDB Tables

pkg/repository/users.go

ENABLE_CASTLE_BLOCKING

true

true

Deny profile updates on a Castle failure or deny verdict — Castle

pkg/api/user_update.go

ENABLE_CHARGEBACK_BAN

false

false

Ban on CHARGED_BACK payments — Chargeback ban

pkg/payments/paymentWorker.go

CHECK_RELATED_ACCOUNT_HASH

false

true

Bank-account hash match in related-account searches — Related accounts

pkg/api/users.go

RELATED_USERS_BAN_COUNT

0

4

Auto-ban threshold on unique_total; 0 disables

pkg/api/users.go

REACTIVATION_LIMIT_DAYS

60

60

Reactivation cooldown

pkg/api/reactivations.go

USER_UPDATE_WINDOW_DAYS

0

0

Address cooldown

pkg/api/user_update.go

ENVIRONMENT = test

true

false

Test fixtures: fixed phone numbers skip verification, first_debit_card_connected_test event name, related-account result cap

pkg/api/utils.go, pkg/api/first_debit_notifier.go, pkg/api/users.go