fix(admin): gate queue actions and harden approve flow

Expose isAdmin from Status, show Admin queue controls only for administrators, and return clear 403/404 messages for approve/reject/fulfill/delete.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Michael SloanandCursor committed 2026-08-02 17:40:27 -04:00
1 parent 3957c6ac1d
commit 2eed62390b
8 files changed
+135 -52

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
param(
[string]$Version = "1.0.0.8",
[string]$Version = "1.0.0.9",
[string]$TargetAbi = "10.11.11.0",
[string]$RepoRawBase = "https://git.masengr.com/Michael-A-Sloan/Jellyfin_Request_tvandmovies/raw/branch/main"
)
@@ -17,7 +17,7 @@ $dllPath = Join-Path $root "Jellyfin.Plugin.Request\bin\Release\net9.0\Jellyfin.
$zipPath = Join-Path $releaseDir $zipFileName
$manifestPath = Join-Path $root "manifest.json"
$timestamp = (Get-Date).ToUniversalTime().ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ")
$changelog = "Fix My requests/Admin queue showing Unknown status and Invalid Date"
$changelog = "Admin queue approve/reject/fulfill/delete; admin tab and buttons only for admins"
Write-Host "Building plugin..."
dotnet build (Join-Path $root "Jellyfin.Plugin.Request.sln") -c Release