make test_user_lists more complete and correct

This commit is contained in:
burnettk 2023-02-03 12:51:57 -05:00
parent b9783ae0ed
commit 18070c5be3
4 changed files with 42 additions and 20 deletions

View File

@ -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]"

View File

@ -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",

View File

@ -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

View File

@ -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