Skip to content

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

Merged
eshurakov merged 1 commit into
mainfrom
eshurakov/dreamy-nebula
Aug 24, 2026
Merged

feat(seed): add --admin flag to app:create-user#5398
eshurakov merged 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

@eshurakov
eshurakov merged commit 4765aee into main Aug 24, 2026
13 checks passed
@eshurakov
eshurakov deleted the eshurakov/dreamy-nebula branch August 24, 2026 09:14
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.

2 participants