Skip to content

feat(seed): add --admin flag to app:create-user - #5398

Open
eshurakov wants to merge 1 commit into
mainfrom
eshurakov/dreamy-nebula
Open

feat(seed): add --admin flag to app:create-user#5398
eshurakov wants to merge 1 commit into
mainfrom
eshurakov/dreamy-nebula

Conversation

@eshurakov

@eshurakov eshurakov commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add --admin to pnpm dev:seed app:create-user so local seed users can be created with is_admin=true.
  • If the email already exists and --admin is passed, grant admin on that user instead of failing.
  • Unknown --* flags are rejected.

Allow seeding local admin users, and grant is_admin on an existing user
when --admin is passed instead of failing on duplicate email.
@kilo-code-bot

kilo-code-bot Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • dev/seed/app/create-user.ts

Reviewed by grok-4.6 · Input: 142.6K · Output: 7.5K · Cached: 220.3K

Review guidance: REVIEW.md from base branch main

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant