Remove stale per-page Authorize(Roles) attributes

All 26 pages had @attribute [Authorize(Roles = "Admin,SuperAdmin")] which
conflicts with the Keycloak role sor-admin. The fallback policy in Program.cs
already enforces RequireRole("sor-admin") globally, making these attributes
redundant. Removing them fixes Access Denied for all admin pages.

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-04-04 14:00:03 -04:00
co-authored by Claude Happy
parent e4ddd801e3
commit 58c5778bfb
26 changed files with 0 additions and 26 deletions
@@ -1,5 +1,4 @@
@page "/collection"
@attribute [Authorize(Roles = "Admin,SuperAdmin")]
@inject CollectionDbContext CollectionDb
@inject NavigationManager Nav
@@ -1,5 +1,4 @@
@page "/collection/player/{AccountId:guid}"
@attribute [Authorize(Roles = "Admin,SuperAdmin")]
@inject CollectionDbContext CollectionDb
@inject CatalogDbContext CatalogDb
@inject SOR.Database.Contexts.SorIdentityDbContext IdentityDb