Add AccessDenied page

This commit is contained in:
danial23 2025-05-20 11:49:59 -04:00
parent bc62310104
commit 8e0a380dea
Signed by: danial23
SSH key fingerprint: SHA256:IJ8VP0j2WMUVweTYnzUUnEjNgPnGx+mAt+RhqWZ01bU
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,11 @@
@page
@model CSR.WebUI.Pages.AccessDeniedModel
@{
ViewData["Title"] = "Access Denied";
}
<div class="text-danger">
<h1 class="text-danger">Access Denied</h1>
<p class="text-danger">You do not have permission to access @Model.ResourceName.</p>
<p>If you believe this is an error, please contact your administrator.</p>
</div>