fix(nextgen): seed missing sysadmin@school.com user
Build and Push Docker Images / build (api) (push) Successful in 2m26s
Details
Build and Push Docker Images / build (musicseerr) (push) Successful in 7m21s
Details
Build and Push Docker Images / build (web) (push) Successful in 1m32s
Details
Build and Push Docker Images / build (nextgen) (push) Successful in 7m51s
Details
Build and Push Docker Images / build (worker) (push) Successful in 10m9s
Details
Build and Push Docker Images / deploy (push) Successful in 23s
Details
Build and Push Docker Images / build (api) (push) Successful in 2m26s
Details
Build and Push Docker Images / build (musicseerr) (push) Successful in 7m21s
Details
Build and Push Docker Images / build (web) (push) Successful in 1m32s
Details
Build and Push Docker Images / build (nextgen) (push) Successful in 7m51s
Details
Build and Push Docker Images / build (worker) (push) Successful in 10m9s
Details
Build and Push Docker Images / deploy (push) Successful in 23s
Details
This commit is contained in:
parent
dfa2cfd783
commit
c6a3776332
|
|
@ -75,6 +75,7 @@ function runPrimarySchoolSeed(dbInstance) {
|
|||
`);
|
||||
|
||||
const coreUatUsers = [
|
||||
{ uid: 'uid-sysadmin', email: 'sysadmin@school.com', role: 'systems_admin',first_name: 'Systems', last_name: 'Admin', pwd: defaultPwdHash, phone: '+263771000000' },
|
||||
{ uid: 'uid-superadmin', email: 'superadmin@school.com', role: 'school_admin', first_name: 'Super', last_name: 'Admin', pwd: defaultPwdHash, phone: '+263771000001' },
|
||||
{ uid: 'uid-admin', email: 'admin@school.com', role: 'school_admin', first_name: 'System', last_name: 'Admin', pwd: defaultPwdHash, phone: '+263771000002' },
|
||||
{ uid: 'uid-principal', email: 'principal@school.com', role: 'principal', first_name: 'Tendai', last_name: 'Moyo', pwd: princPwdHash, phone: '+263771000003' },
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@ async function seedUsersAndStaff(db) {
|
|||
const hashPrinc = bcrypt.hashSync('principal123', 4);
|
||||
|
||||
const users = [
|
||||
{ uid: 'uid-sysadmin', email: 'sysadmin@school.com', first_name: 'Systems', last_name: 'Admin', role: 'systems_admin',password: hashDefault },
|
||||
{ uid: 'uid-admin', email: 'admin@school.com', first_name: 'System', last_name: 'Admin', role: 'school_admin', password: hashDefault },
|
||||
{ uid: 'uid-principal', email: 'principal@school.com', first_name: 'Tendai', last_name: 'Moyo', role: 'principal', password: hashPrinc },
|
||||
{ uid: 'uid-teacher', email: 'teacher@school.com', first_name: 'Blessing', last_name: 'Chiwenga', role: 'teacher', password: hashTeacher },
|
||||
|
|
|
|||
Loading…
Reference in New Issue