diff --git a/spiffworkflow-backend/keycloak/bin/add_test_users_to_keycloak b/spiffworkflow-backend/keycloak/bin/add_test_users_to_keycloak index 5ad11e13f..9a045ffe7 100755 --- a/spiffworkflow-backend/keycloak/bin/add_test_users_to_keycloak +++ b/spiffworkflow-backend/keycloak/bin/add_test_users_to_keycloak @@ -7,7 +7,13 @@ function error_handler() { trap 'error_handler ${LINENO} $?' ERR set -o errtrace -o errexit -o nounset -o pipefail +# you can get a list of users from the keycloak realm file like: +# grep '"email" :' keycloak/realm_exports/spiffworkflow-realm.json | awk -F : '{print $2}' | sed -E 's/ "//g' | sed -E 's/",//g' > s + +# we keep some of these in keycloak/test_user_lists +# spiffworkflow-realm.json is a mashup of the status and sartography user lists. user_file_with_one_email_per_line="${1:-}" + keycloak_realm="${2:-spiffworkflow}" if [[ -z "${1:-}" ]]; then >&2 echo "usage: $(basename "$0") [user_file_with_one_email_per_line]" diff --git a/spiffworkflow-backend/keycloak/realm_exports/sartography-realm.json b/spiffworkflow-backend/keycloak/realm_exports/sartography-realm.json index 37704ea52..20c19e24d 100644 --- a/spiffworkflow-backend/keycloak/realm_exports/sartography-realm.json +++ b/spiffworkflow-backend/keycloak/realm_exports/sartography-realm.json @@ -547,7 +547,7 @@ "enabled" : true, "totp" : false, "emailVerified" : false, - "email" : "kevin@sartography.com", + "email" : "kb@sartography.com", "credentials" : [ { "id" : "4057e784-689d-47c0-a164-035a69e78edf", "type" : "password", diff --git a/spiffworkflow-backend/keycloak/test_user_lists/sartography b/spiffworkflow-backend/keycloak/test_user_lists/sartography index 4f98a51e0..b6f685b8f 100644 --- a/spiffworkflow-backend/keycloak/test_user_lists/sartography +++ b/spiffworkflow-backend/keycloak/test_user_lists/sartography @@ -1,8 +1,11 @@ +admin@spiffworkflow.org alex@sartography.com dan@sartography.com -kevin@sartography.com -jason@sartography.com -mike@sartography.com +daniel@sartography.com elizabeth@sartography.com +jason@sartography.com jon@sartography.com +kb@sartography.com +madhurya@sartography.com +mike@sartography.com natalia@sartography.com diff --git a/spiffworkflow-backend/keycloak/test_user_lists/status b/spiffworkflow-backend/keycloak/test_user_lists/status index 667c4f033..cb5107478 100644 --- a/spiffworkflow-backend/keycloak/test_user_lists/status +++ b/spiffworkflow-backend/keycloak/test_user_lists/status @@ -1,25 +1,38 @@ +admin@spiffworkflow.org +amir@status.im +app.program.lead@status.im +core@status.im +dao.project.lead@status.im +desktop.program.lead@status.im +desktop.project.lead@status.im +fin1@status.im +fin@status.im finance.lead@status.im -legal.lead@status.im -program.lead@status.im -services.lead@status.im finance.sme@status.im -infra.sme@status.im -legal.sme@status.im -security.sme@status.im -ppg.ba@status.im -peopleops.partner@status.im -peopleops.talent@status.im +finance_user1@status.im +harmeet@status.im infra.program-lead@status.im infra.project-lead@status.im -dao.project.lead@status.im -desktop.project.lead@status.im -app.program.lead@status.im -desktop.program.lead@status.im -legal.program-lead.sme@status.im -legal.project-lead.sme@status.im -legal1.sme@status.im +infra.sme@status.im infra1.sme@status.im infra2.sme@status.im +jakub@status.im +jarrad@status.im +lead1@status.im +lead@status.im +legal.lead@status.im +legal.program-lead.sme@status.im +legal.project-lead.sme@status.im +legal.sme@status.im +legal1.sme@status.im +manuchehr@status.im +peopleops.partner@status.im +peopleops.talent@status.im +ppg.ba@status.im +program.lead@status.im +sasha@status.im security.program-lead.sme@status.im security.project-lead.sme@status.im +security.sme@status.im security1.sme@status.im +services.lead@status.im