feat(user migration): user migration to the new app with a default password that will force reset

This commit is contained in:
2025-10-29 17:01:03 -05:00
parent c6f766089b
commit 006ec1bfc0
9 changed files with 127 additions and 24 deletions

View File

@@ -5,17 +5,16 @@ meta {
}
post {
url: {{url}}/lst/api/admin/users
body: none
url: {{url}}/lst/api/admin/users/new
body: json
auth: inherit
}
body:json {
{
"username":"matthes01",
"name":"blake",
"email":"blake.matthes@alpla.com",
"password":"nova0511"
"username":"hardin001",
"email":"ryan.hardin@alpla.com",
"password":"Alpla2025!"
}
}

View File

@@ -0,0 +1,27 @@
meta {
name: Get roles
type: http
seq: 7
}
patch {
url: {{url}}/lst/api/admin/users/:userID/grant
body: json
auth: inherit
}
params:path {
userID: 0hlO48C7Jw1J804FxrCnonKjQ2zh48R6
}
body:json {
{
"module":"siloAdjustments",
"role":"viewer"
}
}
settings {
encodeUrl: true
timeout: 0
}

View File

@@ -1,5 +1,5 @@
vars {
url: https://usiow2prod.alpla.net
url: http://localhost:4200
session_cookie:
urlv2: http://localhost:3000
jwtV2: