feat: add admin albums tab with access overview and bulk grants
New /admin/alben page: all Immich albums with per-album editorial grant chips (link + one-click revoke) and a bulk-grant form (multiple albums x multiple editorials, select-all, search). bulkGrantAlbums validates album existence once via listAlbums, skips already-active pairs, and commits each pair in its own transaction with full audit attribution.
This commit is contained in:
1 parent
0b65fbba16
commit
0931ffc777
12 files changed
+1245
-12
No files matched your search
@@ -14,6 +14,7 @@ export default async function AdminLayout({ children }: Readonly<{ children: Rea
|
||||
nav={[
|
||||
{ href: "/admin", label: "Dashboard" },
|
||||
{ href: "/admin/redaktionen", label: "Redaktionen" },
|
||||
{ href: "/admin/alben", label: "Alben" },
|
||||
{ href: "/admin/abrechnungen", label: "Abrechnungen" },
|
||||
{ href: "/admin/audit", label: "Audit" },
|
||||
]}
|
||||
|
||||
Reference in new issue
Block a user