Skip to content

S11: Account and authentication lifecycle #34

Description

@xishell

Persona

Any user (visiting boater, berth tenant, harbor master)

User outcome

As any user of DockPulse, I create an account, sign in, manage my profile, and delete my data — so I can use the system safely and within GDPR expectations.

Auth lifecycle for boat owners and harbor masters. Includes role distinction so harbormaster privileges (alerts, configuration, sub-accounts) only show for the right users.

Acceptance Criteria

  • User can register with email + password
  • User can log in and stay signed in across sessions
  • User can log out cleanly
  • User can update profile info from a settings page
  • User can delete their account and all associated data
  • Harbormaster role is distinguished in the DB; privileges enforced server-side
  • Bootstrap flow exists for creating the first harbormaster account on a fresh deploy (CLI script in tools/)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendServer, API, databasefrontendWeb dashboard / UItheme:user-facingDashboard, mobile UX, auth flows

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions