Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dossier state change logs #3060

Merged
merged 7 commits into from
Nov 27, 2018

Conversation

tchak
Copy link
Member

@tchak tchak commented Nov 23, 2018

No description provided.

Copy link
Contributor

@kemenaran kemenaran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sur la technique, ça me semble raisonnable (avec une question sur l'usage d'un Service).

Sur le plan métier, je me sens un peu démuni pour évaluer le besoin. Quelle est la demande des utilisateurs ? Est-ce que c'est pour les instructeurs, les admins ? Quels sont les cas d'usages ? (On peut créer une issue pour en parler sans polluer la PR, éventuellement)

app/models/dossier.rb Outdated Show resolved Hide resolved
app/models/dossier.rb Show resolved Hide resolved
@tchak
Copy link
Member Author

tchak commented Nov 26, 2018

Il y a plusieurs motivations. Mais de manière générale, je trouve que ça facilitera le debug et la traçabilité dans le système. Il y a aussi le plan d'exposer une API de de changement de statut du dossier et dans ce cas je veux vraiment imposer qu'un instructeur soit systématiquement passé à l’API a fin de garder une trace chez nous de qui fait quoi. Aujourd'hui, le seul moyen de savoir quel est l'instructeur qui a fait une opération c'est d’aller fouiller dans les log HTTP :(

@tchak tchak force-pushed the dossier-state-change-logs branch 3 times, most recently from e546253 to ef9ae20 Compare November 26, 2018 18:16
@tchak tchak changed the title [RFC] Dossier state change logs Dossier state change logs Nov 26, 2018
@tchak tchak force-pushed the dossier-state-change-logs branch 2 times, most recently from 802d177 to 9b3a449 Compare November 27, 2018 10:15
app/models/dossier.rb Show resolved Hide resolved
@tchak
Copy link
Member Author

tchak commented Nov 27, 2018

@gregoirenovel up avec la découpe comme tu l'as demandé

@tchak tchak merged commit b53d7d5 into demarches-simplifiees:dev Nov 27, 2018
@tchak tchak deleted the dossier-state-change-logs branch May 14, 2019 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants