feat: add server.versionCheck permission (#20555)

* add server.versionCheck permission

* getVersionCheck is no admin-route
This commit is contained in:
Michael
2025-08-05 00:39:05 +02:00
committed by GitHub
parent 42b78c59b5
commit a91bb399f0
6 changed files with 17 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ export class ServerController {
}
@Get('version-check')
@Authenticated()
@Authenticated({ permission: Permission.ServerVersionCheck })
getVersionCheck(): Promise<VersionCheckStateResponseDto> {
return this.systemMetadataService.getVersionCheckState();
}