Skip to content

Commit 39362f7

Browse files
authored
fix(backend): inconsistent permissions for /admin/get-user-ips (#17136)
* fix(backend): inconsistent permissions for /admin/get-user-ips * Update Changelog
1 parent d215421 commit 39362f7

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
- JSONによるClient Information Discoveryを行うには、レスポンスの`Content-Type`ヘッダーが`application/json`である必要があります
3232
- 従来の実装(12 February 2022版・HTML Microformat形式)も引き続きサポートされます
3333
- Enhance: メモリ使用量を削減
34+
- Fix: `/admin/get-user-ips` エンドポイントのアクセス権限を管理者のみに修正
3435

3536
## 2025.12.2
3637

packages/backend/src/server/api/endpoints/admin/get-user-ips.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export const meta = {
1313
tags: ['admin'],
1414

1515
requireCredential: true,
16-
requireModerator: true,
16+
requireAdmin: true,
1717
kind: 'read:admin:user-ips',
1818
res: {
1919
type: 'array',

0 commit comments

Comments
 (0)