OpenSlides/openslides-backend
Create commit protection for migration connection
Aperta
#3657 aperta il 8 lug 2026
enhancementgood first issue
Metriche repository
- Star
- (8 stelle)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
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.