diff --git a/defaults/main.yaml b/defaults/main.yaml index c82c297..74e799e 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -1,32 +1,32 @@ --- workflows: - - create-user-add-to-vre - - group_deleted - - user-group_created - - user-group-role_created +# - create-user-add-to-vre +# - group_deleted +# - user-group_created +# - user-group-role_created - group_created - - invitation-accepted - - user-group_deleted - - user-group-role_deleted - - delete-user-account - - role_deleted - - role_created - - add_role_policy_permission - - add_all_member_roles - - create_system_service - - delete_system_service - - add_all_system_services_to_vre - - create_workspace_client - - add_workspace_client_to_context - - enable_workspace_clients_for_context - - add_workspace_client_to_contexts - - ghn_client_add_to_context - - ghn_client_add_to_contexts - - ghn_client_create - - ghn_client_delete - - ghn_client_remove_from_contexts - - ghn_client_remove_from_context - - jupyterhub_add_serveroptions_to_context +# - invitation-accepted +# - user-group_deleted +# - user-group-role_deleted +# - delete-user-account +# - role_deleted +# - role_created +# - add_role_policy_permission +# - add_all_member_roles +# - create_system_service +# - delete_system_service +# - add_all_system_services_to_vre +# - create_workspace_client +# - add_workspace_client_to_context +# - enable_workspace_clients_for_context +# - add_workspace_client_to_contexts +# - ghn_client_add_to_context +# - ghn_client_add_to_contexts +# - ghn_client_create +# - ghn_client_delete +# - ghn_client_remove_from_contexts +# - ghn_client_remove_from_context +# - jupyterhub_add_serveroptions_to_context keycloak_host: "https://accounts.dev.d4science.org/auth" keycloak: "{{ keycloak_host }}/realms" diff --git a/templates/group_created.json.j2 b/templates/group_created.json.j2 index 4a66eaf..d1044d9 100644 --- a/templates/group_created.json.j2 +++ b/templates/group_created.json.j2 @@ -379,7 +379,8 @@ "url" : "${init.input.keycloak_admin}/groups/${prepare.output.result.group.id}/children", "method" : "POST", "body" : { - "id" : "${prepare.output.result.newid}" + "id" : "${prepare.output.result.newid}", + "name": "${init.output.result.child}" }, "headers" : { "Authorization" : "Bearer ${authorize.output.body.access_token}",