mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
fix: calendar heatmap permissions (#30310)
This commit is contained in:
parent
cf213c81e3
commit
6c86d39f6d
3 changed files with 18 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ export class UserAdminController {
|
|||
}
|
||||
|
||||
@Get(':id/calendar-heatmap')
|
||||
@Authenticated({ permission: Permission.UserRead })
|
||||
@Authenticated({ permission: Permission.UserRead, admin: true })
|
||||
@Endpoint({
|
||||
summary: 'Retrieve calendar heatmap activity',
|
||||
description: 'Retrieve activity counts for a specified period, in a calendar heatmap format.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue