Commit 64047b09 authored by janskoruba's avatar janskoruba
Browse files

Add HideUIForMSSqlErrorLogging flag for Admin UI

parent 69018829
......@@ -16,5 +16,6 @@
public string ClientId { get; set; }
public string ClientSecret { get; set; }
public string OidcResponseType { get; set; }
public bool HideUIForMSSqlErrorLogging { get; set; }
}
}
......@@ -65,10 +65,14 @@
</button>
<div class="dropdown-menu">
<a class="dropdown-item" asp-area="" asp-controller="Log" asp-action="AuditLog">@Localizer["Audit Logs"]</a>
<a class="dropdown-item" asp-area="" asp-controller="Log" asp-action="ErrorsLog">@Localizer["Error Logs"]</a>
@if (!RootConfiguration.AdminConfiguration.HideUIForMSSqlErrorLogging)
{
<a class="dropdown-item" asp-area="" asp-controller="Log" asp-action="ErrorsLog">@Localizer["Error Logs"]</a>
}
</div>
</div>
<!--Menu item -->
@if (User.Identity.IsAuthenticated)
{
......
......@@ -35,7 +35,8 @@
"email",
"roles"
],
"AdministrationRole": "SkorubaIdentityAdminAdministrator"
"AdministrationRole": "SkorubaIdentityAdminAdministrator",
"HideUIForMSSqlErrorLogging": false
},
"AuditLoggingConfiguration": {
"Source": "IdentityServer.Admin.Web",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment