Open eanders-ms opened 5 years ago
Another change that needs to happen when this feature is done: VideoPlayerManager must be updated to use onconnect and ConnectionRPC
@eanders-MS This is by design. GDPR requires us to not allow users to be tracked without their permission. As such, any given Altspace user will be assigned a different ID for each instance of a given app. I agree that a persistent ID per app would be tremendously useful, but we have to come up with a strategy to protect our users' privacy first.
I think the design we landed on was:
For privacy / right to be forgotten: We talked about adding functionality on the website for users to be able to be forgotten by all apps. How this would work: When generating the userId, include a key taken from the user record. When the user chooses to be forgotten, we would roll this key, effectively assigning them a new userId in all apps.
In a space where an MRE is instantiated multiple times with the same sessionId, a given user in the world will have a different userId in each instance. Expected: The users will have the same userId in all instances.
When making this change, multiple other systems must be adjusted to compensate:
onConnect(connectionId: string, userId: string)
,onDisconnect(connectionId: string, userId: string)
.