Skip to content

Commit

Permalink
PO-179 added insert scripts for OPAL test users and match them to Leg…
Browse files Browse the repository at this point in the history
…acy GoB users
  • Loading branch information
abrahamdennis authored and RustyHMCTS committed Feb 19, 2024
1 parent f4cdb53 commit 6649ec5
Show file tree
Hide file tree
Showing 7 changed files with 2,081 additions and 0 deletions.
73 changes: 73 additions & 0 deletions src/main/resources/db/migration/V20240216_083__insert_users.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
/**
* OPAL Program
*
* MODULE : insert_users.sql
*
* DESCRIPTION : Inserts rows of data into the USERS table. These are users that also exist in Legacy GoB.
*
* VERSION HISTORY:
*
* Date Author Version Nature of Change
* ---------- ------- -------- ---------------------------------------------------------------------------------------------------------
* 16/02/2024 A Dennis 1.0 PO-179 Inserts rows of data into the USERS table. These are users that also exist in Legacy GoB.
*
**/
INSERT INTO users
(
user_id
,username
,password
,description
)
VALUES
(
'gl.userfour'
,'[email protected]'
,'ZjaCcP/VFBjsWL15Py2bGw==!'
,'Recreating a User with access to 27 business units in Legacy GoB'
);

INSERT INTO users
(
user_id
,username
,password
,description
)
VALUES
(
'gl.firstuser'
,'[email protected]'
,NULL
,'Recreating a User with no access to a business unit in Legacy GoB'
);

INSERT INTO users
(
user_id
,username
,password
,description
)
VALUES
(
'Suffolk.user'
,'[email protected]'
,'OQWXJPc6mWmEXf5BRsVmDg==!'
,'Recreating a User with access to just 1 business unit in Legacy GoB'
);

INSERT INTO users
(
user_id
,username
,password
,description
)
VALUES
(
'humber.usertwo'
,'[email protected]'
,'W4rdKl2YsaZS6n/XLZQtrA==!'
,'Recreating a User with access to 3 business units in Legacy GoB'
);
Loading

0 comments on commit 6649ec5

Please sign in to comment.