Development #76
Add a consent page
100%
Description
It must accept two arguments, a cookie and a next URL.
The cookie must correspond to a ConsentTransaction object in the database which contains the question to ask the user, and will contain the result when the page will be submitted. After submission the browser must be redirected to the 'next' URL.
Two helper method must go with this new view:
- return_to_consent(question, cookie, next) : create a ConsentTransaction with id cookie and question, create HttpResponseRedirect to the consent page URL containing the cookie and next parameters.
- check_consent(cookie) : returns the result of the ConsentTransaction as 'undecided', 'yes' or 'no', then delete it.
Historique
Mis à jour par Mikaël Ates il y a plus de 12 ans
- Description mis à jour (diff)
- Assigné à changé de Benjamin Dauvergne à Mikaël Ates
- Version cible changé de 2.0.0 à 1.9.2
The task is now, realise a consent page for federation.
Mis à jour par Benjamin Dauvergne il y a plus de 12 ans
redmine@entrouvert.com écrivait:
La demande #76 a été mise à jour par Mikael Ates.
Statut changé de Nouveau à Fermé
Which commit ?