diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 20d872462..695c735d9 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -151,6 +151,7 @@ jobs: TF_VAR_app_azuread_groupid: ${{ secrets.AZUREAD_GROUPID }} TF_VAR_app_cypresstest_secret : ${{ secrets.CYPRESS_TEST_SECRET }} TF_VAR_app_support_email: ${{ secrets.SUPPORT_EMAIL }} + TF_VAR_app_accessrequest: ${{ secrets.ACCESSREQUEST }} TF_VAR_app_templatefeedback: ${{ secrets.TEMPLATEFEEDBACK }} create-tag: diff --git a/.github/workflows/tf-apply.yml b/.github/workflows/tf-apply.yml index c87214574..6e84fd2fa 100644 --- a/.github/workflows/tf-apply.yml +++ b/.github/workflows/tf-apply.yml @@ -81,6 +81,7 @@ jobs: TF_VAR_app_azuread_groupid: ${{ secrets.AZUREAD_GROUPID }} TF_VAR_app_cypresstest_secret : ${{ secrets.CYPRESS_TEST_SECRET }} TF_VAR_app_support_email: ${{ secrets.SUPPORT_EMAIL }} + TF_VAR_app_accessrequest: ${{ secrets.ACCESSREQUEST }} TF_VAR_app_templatefeedback: ${{ secrets.TEMPLATEFEEDBACK }} run_tests: diff --git a/Frontend/Areas/MicrosoftIdentity/Pages/Account/AccessDenied.cshtml b/Frontend/Areas/MicrosoftIdentity/Pages/Account/AccessDenied.cshtml index f89a41703..87b4c518a 100644 --- a/Frontend/Areas/MicrosoftIdentity/Pages/Account/AccessDenied.cshtml +++ b/Frontend/Areas/MicrosoftIdentity/Pages/Account/AccessDenied.cshtml @@ -1,10 +1,10 @@ @page "/access-denied" +@inject Microsoft.Extensions.Configuration.IConfiguration _configuration @model Microsoft.Identity.Web.UI.Areas.MicrosoftIdentity.Pages.Account.AccessDeniedModel @{ Layout = "_Layout"; ViewData["Title"] = "Access denied"; - const string serviceDeskRequestLink = "https://dfe.service-now.com/serviceportal?id=sc_cat_item&sys_id=59d68b331bd13050199d6397b04bcb23"; }
If you think you need access, submit a Service Portal request.
\ No newline at end of file +If you think you need access, request access to this service.
\ No newline at end of file diff --git a/terraform/main.tf b/terraform/main.tf index 36e1bb024..2698cef90 100644 --- a/terraform/main.tf +++ b/terraform/main.tf @@ -29,6 +29,7 @@ resource cloudfoundry_app worker_app { "AzureAd__GroupId" = var.app_azuread_groupid "CypressTestSecret" = var.app_cypresstest_secret "SupportEmail" = var.app_support_email + "AccessRequest" = var.app_accessrequest "TemplateFeedback" = var.app_templatefeedback } } diff --git a/terraform/variables.tf b/terraform/variables.tf index 736a515f5..31acdfcd5 100644 --- a/terraform/variables.tf +++ b/terraform/variables.tf @@ -93,6 +93,11 @@ variable app_support_email { description = "email address for support" } +variable app_accessrequest { + type = string + description = "URL to the form used to request access to the service" +} + variable app_templatefeedback { type = string description = "Feedback form URL displayed on download template page"