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
+1
View File
@@ -191,6 +191,7 @@ export async function GET(request: NextRequest, { params }: RouteParams) {
canComment: canCommentWithMembership || canCommentWithShareLink,
canDownload: canDownloadWithMembership || canDownloadWithShareLink,
canManageTags: access.canEdit,
canResolveComments: access.canEdit,
});
return withCacheControl(response, 'private, no-cache');