fix: Gotify destinations cannot be saved through the security notification settings endpoint

オープン
#2,101 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@Wikid82 がすでに取り組んでいます。

2026年12月1日 から。

評価

この issue はまだ評価されていません。

説明

backend security

What

GET /api/v1/notifications/settings/security returns gotify_url for a Gotify security destination, but PUT on the same endpoint refuses any request that contains gotify_url ("incomplete gotify configuration: gotify_token cannot be supplied with this request"). The request shape has no field for the token, so a client that sends the value back (for example a form that round-trips the settings) is always refused.

Where

backend/internal/services/enhanced_security_notification_service.go (request validation, around lines 195-220; the response mapping around line 149).

Severity

Low (feature gap; Gotify providers can still be managed through the regular notification provider endpoints).

Suggested approach

Decide between (a) accepting a token on this request and storing it through the same path as the provider endpoints, or (b) dropping Gotify from this endpoint and pointing users to the provider page. Add a test for whichever is chosen.

Found while working on the encrypted-secrets branch (not yet a PR).

主要言語
Go
スター
17
フォーク
2
平均マージ
1時間 42分
マージ済み PR(30日)
173

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Wikid82/Charon のほかの issue

Wikid82/Charon の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。