mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Audit all changes made in the admin view.
This commit is contained in:
@@ -28,10 +28,13 @@
|
||||
@page "/admin/document_people/details/{Id:int}"
|
||||
@page "/admin/document_people/edit/{Id:int}"
|
||||
@page "/admin/document_people/create"
|
||||
@using Marechai.Database.Models
|
||||
@inherits OwningComponentBase<DocumentPeopleService>
|
||||
@inject IStringLocalizer<DocumentPeopleService> L
|
||||
@inject PeopleService PeopleService
|
||||
@inject NavigationManager NavigationManager
|
||||
@inject Microsoft.AspNetCore.Identity.UserManager<ApplicationUser> UserManager
|
||||
@inject AuthenticationStateProvider AuthenticationStateProvider
|
||||
@attribute [Authorize(Roles = "UberAdmin, Admin")]
|
||||
<h3>@L["Document person details"]</h3>
|
||||
<hr />
|
||||
|
||||
Reference in New Issue
Block a user