Audit log entries for identity overrides have `change_type: UNKNOWN` and `change_details: []`

Abierto
#8,930 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
68/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

Start by tracing the backend endpoint /api/v1/projects/{id}/audit/{id} and how it builds audit entries for identity feature overrides. Compare the returned change_type and change_details with audit responses for other changes, then add or update focused API tests for an identity override. Done means the response includes the correct change type and details.

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

Descripción

How are you running Flagsmith
  • Self Hosted with Docker
  • Self Hosted with Kubernetes
  • SaaS at flagsmith.com
  • Some other way (add details in description below)
Describe the bug

When you make an override for an identity, and go to audit logs (the FE calls /api/v1/projects/ID/audit/ID), the API response returns change_type: UNKNOWN and change_details : []

Steps To Reproduce
  1. Go to an identity
  2. Override a feature for that identity
  3. Inspect the audit log API response (api/v1/projects/id/audit/id)
Expected behavior

'change_type' and 'change_details' are returned in the correct way by the API

Screenshots

No response

Lenguaje dominante
Python
Estrellas
7.1k
Forks
603
Merge medio
3 d 8 h
PR fusionados (30 d)
102

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 Flagsmith/flagsmith

Todos los issues de Flagsmith/flagsmith

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.