aboutsummaryrefslogtreecommitdiff
path: root/DomainDig/OwnerAccess.swift
Commit message (Collapse)AuthorAgeFilesLines
* chore: add DEBUG reveal of the CloudKit owner record IDchore/owner-record-id-revealChristian Cleberg12 days1-0/+34
Groundwork for the owner Pro+ allowlist. Adds OwnerAccess, which identifies the app owner by their CloudKit user-record ID (a stable, opaque per-Apple-ID value that cannot be guessed or spoofed), plus a DEBUG-only "Developer" row in Settings → App Info that fetches and copies the current iCloud user's record ID for the app's container. OwnerAccess.ownerUserRecordID is empty, so isOwner() is inert until the real value is filled in. A follow-up will hardcode the owner ID, wire isOwner() into PurchaseService to grant .proPlus on a match, remove this reveal, and cut 5.0.1. DEBUG-only UI; release builds are unaffected.