Fix: add some minor frontend permissions checks (#8524)

This commit is contained in:
shamoon
2024-12-19 08:08:46 -08:00
committed by GitHub
parent 20b7ff9f9f
commit 2bcbed31e9
4 changed files with 21 additions and 8 deletions

View File

@@ -334,7 +334,7 @@
</a>
}
} @else {
<a class="small text-decoration-none" routerLink="/settings" fragment="update-checking"
<a *pngxIfPermissions="{ action: PermissionAction.Change, type: PermissionType.UISettings }" class="small text-decoration-none" routerLink="/settings" fragment="update-checking"
[ngbPopover]="updateCheckingNotEnabledPopContent" popoverClass="shadow" triggers="mouseenter"
container="body">
<i-bs width="1.2em" height="1.2em" name="info-circle"></i-bs>