parent
70674f900e
commit
8b3f2c6cde
|
@ -2,6 +2,7 @@
|
|||
@page "/Servers/{id:guid}/{panel}"
|
||||
@page "/Servers/{id:guid}/{panel}/{logId}"
|
||||
@page "/Servers/Add"
|
||||
@attribute [Authorize(Roles = "Administrator")]
|
||||
@using LANCommander.Components.FileManagerComponents;
|
||||
@using LANCommander.Pages.Servers.Components
|
||||
@inject GameService GameService
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
@page "/Servers"
|
||||
@using LANCommander.Pages.Servers.Components
|
||||
@using Microsoft.EntityFrameworkCore;
|
||||
@attribute [Authorize]
|
||||
@attribute [Authorize(Roles = "Administrator")]
|
||||
@inject ServerService ServerService
|
||||
@inject ServerProcessService ServerProcessService
|
||||
@inject NavigationManager NavigationManager
|
||||
|
|
Loading…
Reference in New Issue