parent
5a99f58f81
commit
fa57cc21ad
|
@ -2,6 +2,7 @@
|
|||
@page "/Redistributables/{id:guid}/{panel}"
|
||||
@page "/Redistributables/Add"
|
||||
@using LANCommander.Data.Enums;
|
||||
@attribute [Authorize(Roles = "Administrator")]
|
||||
@inject RedistributableService RedistributableService
|
||||
@inject IMessageService MessageService
|
||||
@inject NavigationManager NavigationManager
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@page "/Redistributables"
|
||||
@using Microsoft.EntityFrameworkCore;
|
||||
@attribute [Authorize]
|
||||
@attribute [Authorize(Roles = "Administrator")]
|
||||
@inject RedistributableService RedistributableService
|
||||
@inject NavigationManager NavigationManager
|
||||
@inject IMessageService MessageService
|
||||
|
|
Loading…
Reference in New Issue