geopython / geopython/GeoHealthCheck

Prepopulate resource notify emails field with GHC_NOTIFICATIONS_EMAILS

Offen
#314 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
92
Forks
75
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

On an individual resource page, a user cannot see the `GHC_NOTIFICATIONS_EMAILS` that a notification will be sent to.

### Solution
On resource creation, only the current logged in users email is prepopulated in the `Notify emails` field.

It would make sense to also populate it with the email values in `GHC_NOTIFICATIONS_EMAILS` since these addresses are also notified on a probe/check failure. It would also allow to "opt-out" certain email addresses from receiving a notification at the resource-level even although the address is in `GHC_NOTIFICATIONS_EMAILS` by simple removing the address from list.

Notifications would then only be sent for a resource to email address included in this field.

Alternatively, it would be useful to see at the resource level which global email addresses the notification email will be sent to in case of a probe/check fail. This could be an uneditable field.

CC @alexandreleroux

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne auf der Seite der einzelnen Ressource und im Ablauf zur Ressourcenerstellung und verfolge anschließend, wie GHC_NOTIFICATIONS_EMAILS und das Feld Notify emails befüllt werden. Als erledigt gilt dies, wenn globale Benachrichtigungsadressen auf Ressourcenebene sichtbar oder vorausgefüllt sind, dort gegebenenfalls entfernt werden können und Benachrichtigungen die daraus resultierende ressourcenspezifische Liste verwenden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
backend
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.