01THE CHALLENGE
Shared doesn’t mean everything is public.
Some information belongs to both users, while some settings should only be changed by the person who created them. Updates also need to appear quickly on both devices without revealing private configuration or leaving the app in conflicting states.
02WHAT I DID
The rules live close to the data.
I put the permission rules into database functions, migrations and row-level policies, then made those same rules clear in the interface. Creator-only editing, private wheel settings and multi-step wager settlements are defined as product rules instead of one-off conditions.
03WHERE IT STANDS
New features can reuse the same privacy model.
The app can keep adding shared activities without redesigning privacy and synchronization every time. New features inherit the same approach to identity, ownership and real-time updates.