diff --git a/frontend/scripts/docker-entrypoint.sh b/frontend/scripts/docker-entrypoint.sh index 70c6060588..b18c79d38f 100755 --- a/frontend/scripts/docker-entrypoint.sh +++ b/frontend/scripts/docker-entrypoint.sh @@ -37,6 +37,7 @@ declare -a ENV_VARIABLES=( "VUE_APP_IS_TWITTER_ENABLED" "VUE_APP_DATADOG_RUM_APPLICATION_ID" "VUE_APP_DATADOG_RUM_CLIENT_TOKEN" + "VUE_APP_TEAM_USER_IDS" ) for ENV_VAR in "${ENV_VARIABLES[@]}" diff --git a/frontend/src/config.js b/frontend/src/config.js index 40eaccfff6..6ca1752024 100644 --- a/frontend/src/config.js +++ b/frontend/src/config.js @@ -74,6 +74,9 @@ const defaultConfig = { clientToken: import.meta.env.VUE_APP_DATADOG_RUM_CLIENT_TOKEN, }, }, + permissions: { + teamUserIds: import.meta.env.VUE_APP_TEAM_USER_IDS, + }, }; const composedConfig = { @@ -140,6 +143,9 @@ const composedConfig = { clientToken: 'CROWD_VUE_APP_DATADOG_RUM_CLIENT_TOKEN', }, }, + permissions: { + teamUserIds: 'CROWD_VUE_APP_TEAM_USER_IDS', + }, }; const config = defaultConfig.backendUrl diff --git a/frontend/src/config/integrations/github/components/github-connect.vue b/frontend/src/config/integrations/github/components/github-connect.vue index 3bcc98a47c..d308003dd4 100644 --- a/frontend/src/config/integrations/github/components/github-connect.vue +++ b/frontend/src/config/integrations/github/components/github-connect.vue @@ -6,16 +6,15 @@ - - - - Connect - - + + + Connect + @@ -23,12 +22,19 @@