OpenSlides/openslides-backend

Create commit protection for migration connection

Offen

#3.657 geöffnet am 08.07.2026

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (39 Forks)auto 404
enhancementgood first issue

Repository-Metriken

Stars
 (8 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Currently if a dev was to commit on the connection stored in the cursor it could potentially damage data. To prevent that my idea is to subclass the psycopg connection/cursor and pass this object to the migration functions. This subclassed connection/cursor could then prevent any commit or retrieval of the connection.

Contributor Guide