Skip to content

Commit

Permalink
Merge pull request #1536 from boxwise/add-external-freeshop-checkout-…
Browse files Browse the repository at this point in the history
…roles-to-seed

Add "external freeshop checkout" roles to seed
  • Loading branch information
pylipp authored Sep 13, 2024
2 parents 52e1022 + fe0d834 commit d9d3644
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 25 deletions.
22 changes: 6 additions & 16 deletions back/boxtribute_server/cron/reseed_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,47 +59,37 @@ def execute_sql_statements_from_file(cursor, sql_file):
# 2. Change data structure: jq '.roles | map({(.name): .id}) | add' tenant.json
STAGING_AUTH0_ROLE_IDS = {
"administrator": "rol_I49URaIyhBnMQHJQ",
"base_100000000_external_free_shop_checkout": "rol_oJCLEkuiplrbYX00",
"base_100000000_coordinator": "rol_tcBvcFXhVekggU8H",
"base_100000000_free_shop_volunteer": "rol_R19NxnEOO3iGctqc",
"base_100000000_label_creation": "rol_3jwyihkX503dI2XI",
"base_100000000_library_volunteer": "rol_8tqEAp6v0qmK4SiX",
"base_100000000_warehouse_volunteer": "rol_7syKQNdCCteg5BDi",
"base_100000001_external_free_shop_checkout": "rol_6x0gDYN1CkUo99qS",
"base_100000001_coordinator": "rol_Fv2c7Mzh2Njr2pp0",
"base_100000001_free_shop_volunteer": "rol_76CagkHaSRsHNosv",
"base_100000001_label_creation": "rol_yqMsT3EmaLymy8ez",
"base_100000001_library_volunteer": "rol_9qyfKtUXKZap8ngz",
"base_100000001_warehouse_volunteer": "rol_17GcfmcO6kQ94zYZ",
"base_100000017_coordinator": "rol_xuMG7Li42Xz7XpCV",
"base_100000017_free_shop_volunteer": "rol_tOTX1v7iOBKUMfnM",
"base_100000017_label_creation": "rol_MZ0MiesxFjmIm04P",
"base_100000017_warehouse_volunteer": "rol_KeYNpBy9k6cSo71K",
"base_100000018_coordinator": "rol_5QasHvRyGZx59iy0",
"base_100000018_free_shop_volunteer": "rol_X9wy1vsX2nKfGDQt",
"base_100000018_label_creation": "rol_aAjBx1YQ0wNg9hN0",
"base_100000018_warehouse_volunteer": "rol_zC5f75TCqbe3ISQp",
"base_100000019_coordinator": "rol_q3RdG5xWUPvoWI16",
"base_100000019_free_shop_volunteer": "rol_dXn6QzgnvEJoylfx",
"base_100000019_label_creation": "rol_4CAYx4Wv8SkUB43g",
"base_100000019_warehouse_volunteer": "rol_BwkN2HdfXwPK85W3",
"base_100000020_coordinator": "rol_4ymABrJtT4R6BL7G",
"base_100000020_free_shop_volunteer": "rol_XLQbOQdbm2mac5xG",
"base_100000020_label_creation": "rol_cZJimotAQQ4hmMvW",
"base_100000020_warehouse_volunteer": "rol_PosBD6y4VciHgFDc",
"base_1_external_free_shop_checkout": "rol_LQU376MESdeH0VuW",
"base_1_coordinator": "rol_V4nNNkYco84WlMRT",
"base_1_free_shop_volunteer": "rol_cUiwTC7Hjda6ZRt0",
"base_1_label_creation": "rol_rH3ypspbLKPpv5Hv",
"base_1_library_volunteer": "rol_Gn1K628NdOCHqwOV",
"base_1_warehouse_volunteer": "rol_zF0wNUwB8gFbGrVJ",
"base_2_external_free_shop_checkout": "rol_4Q2Igr6pgQgYCtf0",
"base_2_coordinator": "rol_5xjOjvRSch83q8RV",
"base_2_free_shop_volunteer": "rol_GPN3nIYLVgKfRG8M",
"base_2_label_creation": "rol_JQgq1dTehqfmWOnm",
"base_2_library_volunteer": "rol_Odg5F3mr7L9jtsxA",
"base_2_warehouse_volunteer": "rol_0QGJMfQZEIhw52H9",
"base_3_external_free_shop_checkout": "rol_nl2zVwPW5PFpe8j3",
"base_3_coordinator": "rol_uW12dtjMiwyHvE7A",
"base_3_free_shop_volunteer": "rol_XxJvcFSHa3As9xs5",
"base_3_label_creation": "rol_zRCKpXBedneXHxlb",
"base_3_library_volunteer": "rol_MvRbNPaust2tvLMz",
"base_3_warehouse_volunteer": "rol_cxgyk1fs8zocqJYM",
"base_4_external_free_shop_checkout": "rol_judZpcBrtZvDeoLe",
"base_4_coordinator": "rol_9R5O6UJiGJpuTGD5",
"base_4_free_shop_volunteer": "rol_vxlRm59SSUuETdrC",
"base_4_label_creation": "rol_X2TyZ4GHxjukAAQk",
Expand Down
Loading

0 comments on commit d9d3644

Please sign in to comment.