mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 08:48:11 +00:00
feat(seed): implement local IAM baseline seeder with configurable settings
This commit is contained in:
@@ -42,8 +42,15 @@ JWT_REFRESH_TOKEN_EXPIRES=7d
|
||||
# IAM seed defaults (used by @tria-plc/iamapi-common on first boot)
|
||||
SUPER_ADMIN_EMAIL=superadmin@tria.com
|
||||
SUPER_ADMIN_PHONE=
|
||||
# Super-admin password. Falls back to DEFAULT_PASSWORD when empty.
|
||||
SUPER_ADMIN_PASSWORD=
|
||||
DEFAULT_PASSWORD=password@tria
|
||||
|
||||
# IAM baseline (roles, IAM app + permissions, position types, org/unit settings,
|
||||
# super-admin account). Local replacement for the package DataSeeder —
|
||||
# see src/seed/iam-baseline.seed.ts.
|
||||
SEED_IAM_BASELINE=false
|
||||
|
||||
# Freight org + staff (bookings / rule-engine IAM)
|
||||
SEED_EDR_ORG=true
|
||||
SEED_FREIGHT_STAFF=true
|
||||
|
||||
Reference in New Issue
Block a user