lablup / lablup/backend.ai-webui

Add a client IP column to the login history table (backend #13941)

Open
#9,039 0 comments 0 reactions 0 assignees View on GitHub
quick-capture
Dominant language
TypeScript
Stars
133
Forks
81
Avg merge
1d 11h
Merged PRs (30d)
344

Description

The backend now records \`client_ip\` on login history and audit log entries and adds a \`client_ip_masking_policies\` admin policy (lablup/backend.ai#13941). The WebUI login history table needs to be updated to surface this data.

## Scope

- Add a **Client IP** column to the login history table (\`BAILoginHistoryTable\` / \`LoginHistory\`), reading the new \`client_ip\` field from the GraphQL schema.
- Respect the masking policy: render the value the server returns (masked or full) as-is; do not attempt to unmask or reformat on the client.
- Update the related audit-log presentation where the same field applies (\`BAIAuditLogNodes\`, \`BAIAuditLogStatusTag\`) and the user settings login history view (\`UserSettingsPage\`).
- Update \`data/schema.graphql\`, the Relay fragments, and i18n keys for the new column header.

## Out of scope

- The admin UI for managing \`client_ip_masking_policies\` (separate issue).

Captured while working on branch: FR-3558-e2e

JIRA Issue: FR-3661

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with BAILoginHistoryTable and LoginHistory, then trace the Relay fragments and data/schema.graphql definitions for login history. Update the related BAIAuditLogNodes, BAIAuditLogStatusTag, UserSettingsPage, and i18n keys so the server-returned client_ip is displayed as-is in the login history and audit-log views.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
72/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.