AI Implementation feature(871): Admin Area System: Database Backup/Restore and Danger Zone (#61)

This commit was merged in pull request #61.
This commit is contained in:
2026-07-23 12:10:41 +00:00
parent 6bac67fad7
commit 470ddd30c3
42 changed files with 3996 additions and 55 deletions
@@ -240,6 +240,17 @@ export class AuthService {
this.publishInvalidation(message);
}
/**
* Forcibly invalidate the local session (and broadcast peer
* invalidation) — used after a destructive server-initiated action such
* as a successful restore that revokes access. Same as a normal logout
* from the client's perspective.
*/
forceServerInvalidation(): void {
this.suppressBroadcast = false;
this.clearAndBroadcast();
}
handleSseUnauthorized(): void {
this.clearAndBroadcast();
this.notifyPeerInvalidation('sse-unauthorized');