Skip to content

Commit

Permalink
Updated function casing
Browse files Browse the repository at this point in the history
  • Loading branch information
CGoodwin90 committed Jun 7, 2024
1 parent 8dc06e9 commit 6bac733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/keycloak/startup-scripts/00-configure-lagoon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function migrate_to_custom_group_mapper {

}

function add_notification_viewAll {
function add_notification_view_all {
local api_client_id=$(/opt/keycloak/bin/kcadm.sh get -r lagoon clients?clientId=api --config $CONFIG_PATH | jq -r '.[0]["id"]')
local view_all_notifications=$(/opt/keycloak/bin/kcadm.sh get -r lagoon clients/$api_client_id/authz/resource-server/permission?name=View+All+Notifications --config $CONFIG_PATH)

Expand Down Expand Up @@ -267,7 +267,7 @@ function configure_keycloak {

check_migrations_version
migrate_to_custom_group_mapper
add_notification_viewAll
add_notification_view_all
#post 2.18.0+ migrations after this point
service-api_add_query-groups_permission

Expand Down

0 comments on commit 6bac733

Please sign in to comment.