Switched to new permission handling for front and backend as the moonlight core did

This commit is contained in:
2025-05-21 10:54:34 +02:00
parent 35ee8f5bd9
commit de682ab7ae
20 changed files with 61 additions and 41 deletions

View File

@@ -14,6 +14,8 @@
@inject AlertService AlertService
@inject ToastService ToastService
@attribute [Authorize(Policy = "permissions:admin.servers.get")]
<div class="mb-3">
<NavTabs Index="1" Names="@UiConstants.AdminNavNames" Links="@UiConstants.AdminNavLinks"/>
</div>