-
Notifications
You must be signed in to change notification settings - Fork 353
Open
Labels
Description
Bug Report
Problematic behavior
When an access is deleted, we make a call to the collaboration server to disconnect the related user:
CollaborationService().reset_connections(
str(instance.document.id), str(instance.user.id)
)
This code is forgetting the fact that an access can be related to a team....
Expected behavior/code
When deleting an access related to a team, all users in the team should be disconnected from the collaboration server.
Note that this bug does not manifest itself in production because we don't make use of team accesses yet.
Possible Solution
Getting the list of users for a team and disconnecting them one by one does not seem to be a good solution and would be fragile.
I would say it is much safer and simpler to disconnect every body and let the users who still have access reconnect...
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status