Add admin-only comment resolution controls

This commit is contained in:
Yusuf İpek
2026-02-23 18:21:10 +03:00
parent fe7235052e
commit dd884a325c
4 changed files with 43 additions and 22 deletions
@@ -108,6 +108,7 @@ export async function GET(request: NextRequest, { params }: RouteParams) {
currentUserName: session?.user?.name || null,
canDownload: access.hasAccess,
canManageTags: access.canEdit,
canResolveComments: access.canEdit,
});
return withCacheControl(response, 'private, no-cache');