mirror of
https://github.com/games-on-whales/wolfmanager.git
synced 2026-10-15 13:02:05 +00:00
[GH-ISSUE #49] Adopt Existing Wolf Clients into WolfManager #24
Labels
No labels
a11y
bug
enhancement
enhancement
good first issue
pull-request
question
refactor
security
shadcn
tech-debt
ui
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
games-on-whales/wolfmanager#24
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @salty2011 on GitHub (Jul 11, 2025).
Original GitHub issue: https://github.com/games-on-whales/wolfmanager/issues/49
Overview
Introduce a new Client Management interface under
Settingsthat allows administrators to adopt existing clients registered in Wolf (via the/clientsAPI) into WolfManager. This feature ensures orphaned or pre-existing clients can be assigned to managed users within WolfManager, bringing them into the lifecycle of user-managed session handling and client cleanup.Motivation
Currently, clients known to Wolf but not to WolfManager remain unmanaged, leading to:
This feature allows administrators to assign unclaimed Wolf clients to existing users in WolfManager, enabling proper lifecycle control (e.g., automatic unpairing when users are deleted), friendly name assignment, and audit logging.
Feature Details
🛍️ Location
Settings > Client Management🔒 Permissions
Adminrole📋 Functionality
Display a table of unmanaged clients, sourced from the
/clientsendpoint in Wolf and filtered to exclude those already in the WolfManagerclientstable.Include a bulk assignment option, by selection all relevent client and assigning to use
Each row includes:
On assignment:
clientstable in the WolfManager databaseclient IDis used as fallbackloggerfunctionOnly one user can be assigned per client
Friendly names can be duplicated (not a unique identifier)
The client will then appear in the Clients section of the user
🔀 Unpairing Logic
If a user is deleted, any assigned clients will:
unpairAPI request to WolfUX Design Notes
Table UI should include:
Friendly name is optional input
Dropdown for users should list usernames or friendly labels
Audit Logging
Each client assignment should generate a log entry:
Log the timestamp, admin ID, and source IP if available.
Future Enhancements (Optional Later)
@zeedif commented on GitHub (Oct 25, 2025):
Just chiming in to say I'm also facing this issue. I had several clients paired directly with Wolf before setting up WolfManager, and I was wondering why they weren't showing up. Eagerly waiting for this feature!
@salty2011 commented on GitHub (Oct 26, 2025):
Yeah, definitely something that needs to be sorted.
Sorry for delays been busy winding up at my old job and settling into the new one...
Should have some time in the coming weeks to start this