Editing an item saves fields that were added by the login proxy on read

Abierto
#259 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
66/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
backend

Línea de trabajo

Start by tracing the item edit form's read and save paths, then inspect how the authenticating proxy adds the authentication extension and auth:schemes. Add or adapt a test that edits and saves an item containing only the EO extension. Done when the stored copy has no proxy-added fields after saving.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

ready

Found while live-testing #254. The app reads items through the authenticating proxy, which adds the authentication extension and an auth:schemes property to every item it returns. The edit form treats those as part of the item, so the first save writes them into the stored item (confirmed: an item created with only the EO extension had the authentication extension and auth:schemes, including the local login server address, stored after one edit).

Effect: stored items accumulate deployment-specific login details that go stale if the login server address changes, and the stored item no longer matches what the owner entered.

Options: strip proxy-added fields before saving (compare against what the proxy is known to inject), or read the item for editing from a path that does not decorate it.

Done when: editing and saving an item leaves no proxy-added fields in the stored copy, covered by a test.

🤖 Generated with Claude Code

Lenguaje dominante
Python
Estrellas
0
Forks
2
Merge medio
8 h 26 min
PR fusionados (30 d)
47

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TechTraverse/stac-higher

Todos los issues de TechTraverse/stac-higher

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.