Projet

Général

Profil

Development #55857

Désactiver le common domain cookie quand une restriction de vue est active

Ajouté par Benjamin Dauvergne il y a presque 3 ans. Mis à jour il y a presque 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
27 juillet 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Ça permet d'utiliser les vues des briques sans être bloqué sur un SSO passif.


Fichiers

Révisions associées

Révision e377bbe9 (diff)
Ajouté par Benjamin Dauvergne il y a presque 3 ans

middleware: refactor OpenedSessionCookieMiddleware (#55857)

There is a small chane in behaviour : if the cookie is disabled, we
always try to delete if it is present in request.COOKIES. It allows a
real time disabling of the cookie.

Révision 8cd7bdb1 (diff)
Ajouté par Benjamin Dauvergne il y a presque 3 ans

middleware: disable the common domain cookie during view restrictions (#55857)

Historique

#1

Mis à jour par Benjamin Dauvergne il y a presque 3 ans

  • Assigné à mis à Benjamin Dauvergne
#2

Mis à jour par Benjamin Dauvergne il y a presque 3 ans

J'ai du changer le hostname dans le test spécifique parce que sinon cookiejar ne fonctionne pas (je ne sais pas pourquoi webtest a choisi testserver comme nom de domaine par défaut sachant que ça fait bugger cookiejar mais bon).

#4

Mis à jour par Valentin Deniaud il y a presque 3 ans

  • Statut changé de Solution proposée à Solution validée
#5

Mis à jour par Benjamin Dauvergne il y a presque 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 8cd7bdb1340836e53321428f97a0599f09e7bb28
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Tue Jul 27 12:29:11 2021 +0200

    middleware: disable the common domain cookie during view restrictions (#55857)

commit e377bbe988435dd43a6ee585caaecb625ec9a0be
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Tue Jul 27 12:26:52 2021 +0200

    middleware: refactor OpenedSessionCookieMiddleware (#55857)

    There is a small chane in behaviour : if the cookie is disabled, we
    always try to delete if it is present in request.COOKIES. It allows a
    real time disabling of the cookie.
#6

Mis à jour par Frédéric Péters il y a presque 3 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF