Skip to content

Implement support for user and role management #23

Description

@anderspitman
  • LastLogin needs some concept of multiple users/accounts or multiple ids per user
  • Don't want to complicate decent-auth too much to support this
  • Concurrency may be a problem if we need to start storing things in multiple tables in KV

Current plan

  • Add /users to KV
  • Each user has a single id
  • Roles are based on users, not ids
  • Default when adding a user is to switch the session to only that user
  • Need some way for apps like LastLogin to instead combine multiple users into a single session
  • Maybe we can default to combining, and apps can just show the most recent if they don't care about switching accounts without a new login flow

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions