Skip to content

feat(admin): add first-admin bootstrap command #12

@ibourgeois

Description

@ibourgeois

Goal

Provide a safe CLI path to create or promote the first admin account.

Scope

  • Add an Artisan command to create or promote an admin
  • Support local and production bootstrap scenarios
  • Ensure the command works with the Bouncer role model

Out of Scope

  • Admin UI for role management
  • Invite workflows

Acceptance Criteria

  • A documented Artisan command can create or promote the first admin
  • The command is idempotent or safely handles duplicate intent
  • The command has focused test coverage where practical

Dependencies

Test Plan

  • Add command tests for create and promote paths
  • Manually verify command usage in a local environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions