fix(backend): inconsistent permissions for /admin/get-user-ips (#17136)
* fix(backend): inconsistent permissions for /admin/get-user-ips * Update Changelog
This commit is contained in:
parent
d2154214ba
commit
39362f78a6
|
|
@ -31,6 +31,7 @@
|
||||||
- JSONによるClient Information Discoveryを行うには、レスポンスの`Content-Type`ヘッダーが`application/json`である必要があります
|
- JSONによるClient Information Discoveryを行うには、レスポンスの`Content-Type`ヘッダーが`application/json`である必要があります
|
||||||
- 従来の実装(12 February 2022版・HTML Microformat形式)も引き続きサポートされます
|
- 従来の実装(12 February 2022版・HTML Microformat形式)も引き続きサポートされます
|
||||||
- Enhance: メモリ使用量を削減
|
- Enhance: メモリ使用量を削減
|
||||||
|
- Fix: `/admin/get-user-ips` エンドポイントのアクセス権限を管理者のみに修正
|
||||||
|
|
||||||
## 2025.12.2
|
## 2025.12.2
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ export const meta = {
|
||||||
tags: ['admin'],
|
tags: ['admin'],
|
||||||
|
|
||||||
requireCredential: true,
|
requireCredential: true,
|
||||||
requireModerator: true,
|
requireAdmin: true,
|
||||||
kind: 'read:admin:user-ips',
|
kind: 'read:admin:user-ips',
|
||||||
res: {
|
res: {
|
||||||
type: 'array',
|
type: 'array',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue