[Feature] AI Gateway IP Restriction for Users

Aperta
#14,315 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@wanghe-fit2cloud ci sta già lavorando.

Dal 6/11/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

type: ai-gateway
1Panel Version

v2.4.2

Please describe your needs or suggestions for improvements

希望能在AI网关里添加对用户与apikey的IP访问白名单, 仅允许白名单内的用户对大模型进行调用, 可以对用户创建的apikey同样生效

I hope to add user and apikey IP access whitelists in the AI gateway, allowing only users within the whitelist to call the large model, which can also take effect for apikeys created by users.

Please describe the solution you suggest

管理员创建用户A并设置了IP访问白名单, 用户A自己创建了一个apikey, 那管理员设置的IP白名单同样对用户A创建的apikey生效

An administrator created user A and set up an IP access whitelist. User A created an API key themselves, and the IP whitelist set by the administrator also takes effect for the API key created by user A.

Additional Information

No response

Lingua principale
Go
Stelle
37.4k
Fork
3.4k
Merge medio
6h 54m
PR unite (30g)
146

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di 1Panel-dev/1Panel

Tutte le issue di 1Panel-dev/1Panel

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.