Add option to remove User from UserRegistry by UserId or SessionId #54

Closed
opened 2026-04-07 13:01:51 +02:00 by lars.winzer · 6 comments
lars.winzer commented 2026-04-07 13:01:51 +02:00 (Migrated from git.scicore.unibas.ch)

Feature Request

Summary

The UserRegistry needs to be expanded to allow for the removal of a user by his UserId or SessionId.

Required workarround

The only possible workarround is, to mark the User for removal. By calling the onDisconnect handler method of the UserRegistry.

However, this is a clear miss use.

Description

Methods to remove a user by UserId or SessionId need to be added to the UserRegistry.

Checklist

  • I have described the function in detail
  • I searched docs for alternative implementations matching my needs
  • I added relevant labels
## Feature Request <!--The reccommended type is: Task--> ### Summary The UserRegistry needs to be expanded to allow for the removal of a user by his `UserId` or `SessionId`. ### Required workarround The only possible workarround is, to mark the User for removal. By calling the `onDisconnect` handler method of the `UserRegistry`. However, this is a clear miss use. ### Description Methods to remove a user by UserId or `SessionId` need to be added to the `UserRegistry`. ### Checklist - [x] I have described the function in detail - [x] I searched docs for alternative implementations matching my needs - [x] I added relevant labels
lars.winzer commented 2026-04-07 13:02:09 +02:00 (Migrated from git.scicore.unibas.ch)

This feature request is directly related to #41

This feature request is directly related to #41
lars.winzer commented 2026-04-07 13:02:57 +02:00 (Migrated from git.scicore.unibas.ch)

created branch feat/54-sessionregistry-remove-method to address this issue

created branch [`feat/54-sessionregistry-remove-method`](/cs108-fs26/Gruppe-13/-/compare/main...feat%2F54-sessionregistry-remove-method) to address this issue
lars.winzer commented 2026-04-07 13:03:00 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @lars.winzer

assigned to @lars.winzer
lars.winzer commented 2026-04-07 13:32:32 +02:00 (Migrated from git.scicore.unibas.ch)

added 20m of time spent at 2026-04-07 12:00:00 +0200

added 20m of time spent at 2026-04-07 12:00:00 +0200
lars.winzer commented 2026-04-07 13:33:43 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !82

mentioned in merge request !82
lars.winzer commented 2026-04-07 13:35:10 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 78e0599182

mentioned in commit 78e0599182b7788488dbe844061592005322c212
lars.winzer (Migrated from git.scicore.unibas.ch) closed this issue 2026-04-07 13:35:10 +02:00
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#54