SCIM: a suspended account's open sessions end, and no credential it holds still works (SCIM-52)
The push router records which account each subscription belongs to, and a new Revoke event drops every subscription the account holds, so its IMAP IDLE, JMAP event streams and WebSockets on this node end. Other users' subscriptions to its shared mailboxes stay. Test 28 now checks an open IDLE is ended, and that the account's password over HTTP and its own API key, both already cached, are refused on the next request.
This commit is contained in:
@@ -43,6 +43,11 @@ pub enum PushEvent {
|
||||
account_id: u32,
|
||||
broadcast: bool,
|
||||
},
|
||||
// inbuxa: SCIM-52: ends the push subscriptions the account itself holds
|
||||
// (IMAP IDLE, JMAP event streams and WebSockets) on this node
|
||||
Revoke {
|
||||
account_id: u32,
|
||||
},
|
||||
Stop,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user