This repository has been archived by the owner on Oct 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #482 from DFE-Digital/117187/access-denied-page
117187/access denied page
- Loading branch information
Showing
5 changed files
with
10 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
Frontend/Areas/MicrosoftIdentity/Pages/Account/AccessDenied.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"; | ||
} | ||
|
||
<h1 class="govuk-heading-l">You do not have access to this service</h1> | ||
<p class="govuk-body">If you think you need access, submit a <a href="@serviceDeskRequestLink" class="govuk-link">Service Portal request</a>.</p> | ||
<p class="govuk-body">If you think you need access, <a href="@_configuration["AccessRequest"]" class="govuk-link">request access to this service</a>.</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters