Skip to content

Add sessions list to Profile #313

@ai

Description

@ai

We need to show opened sessions of the user, so user will be able to detect attack or block session on compromised device.

  • Add to server/modules/auth.ts addSyncMap and addSyncMapFilter to create session resource loading it from database
    • Add tests
  • Add core/session.ts syncMapTemplate to use this resource (without offline: true, remote: false in contract with other syncMapTemplate)
    • Add session usage to core/pages/profile.ts
    • Add tests to core/test/pages/profile.test.ts
  • Add UI for sessions to Profile page in web/pages/profile.svelte. We need: created time, last used time, client ID, delete button.
    • Add mock data to Profile page story.

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Ready to Take

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions