feat(ui): 모든 중요 페이지에 [Authorize] 인가 가드 적용하여 보안 강화

This commit is contained in:
2026-07-01 11:27:50 +09:00
parent 4de9339163
commit e4290ef3c6
4 changed files with 4 additions and 0 deletions
@@ -1,4 +1,5 @@
@page "/collection"
@attribute [Authorize]
@using QuantEngine.Web.Client.Services
@inject ApiClient ApiClient
@inject ILogger<Collection> Logger
@@ -1,4 +1,5 @@
@page "/"
@attribute [Authorize]
@using QuantEngine.Core.Infrastructure
@inject HttpClient Http
@@ -1,4 +1,5 @@
@page "/operations"
@attribute [Authorize]
@using QuantEngine.Core.Infrastructure
@inject HttpClient Http
+1
View File
@@ -29,6 +29,7 @@ def _request_json(url: str, token: str, method: str = "GET", body: dict[str, Any
headers = {
"Authorization": f"token {token}",
"Accept": "application/json",
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36",
}
if body is not None:
headers["Content-Type"] = "application/json"