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