Open randomouscrap98 opened 2 years ago
Problem: who gets the permission update? It can't be everyone, what if it's already a private page and it's made MORE private? It should be sent to the previous list of people allowed by the old permissions? Is that possible to do?
One suggestion given by 12 is to just generate the event BEFORE the new content is written, so it has the old permissions. However, I think the permissions assigned to the event come from a permission cache, and you can't have multiple permissions there.... see if each event has a copy of the permissions or not
Another suggestion given by 12 is, to reduce the strain on frontends, it could look like a deletion event... mmm right... but I'd have to figure out for WHOM the deletion event should show
When content goes out of scope due to a change in privacy, the people left behind don't know about it. You could send two events when content permissions change: first a "permission changed" event, then the regular activity event. This way, people know when permissions change and can update their frontends accordingly. Currently, the content would just sit there because nobody knows.
Oh right, this is all based on live updates, that's all