What’s happening in this Kotlin code?

Watch on YouTube (Embed)

Switch Invidious Instance

Show annotations

9,660

165

Genre: Science & Technology

License: Standard YouTube license

Family friendly? Yes

Shared June 29, 2026

A small Kotlin challenge from a real permissions bug: each user has a set of roles. A teammate adds a role to one user, and a completely different user ends up with that role too. What happened? Watch the clip and share what you think below. Subscribe to Google for Developers → goo.gle/developers Speakers: Anaya Mehta