Bug #50874
AttributeError: 'ProxiedUser' object has no attribute 'groups'
Début:
04 février 2021
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Non
Description
https://sentry.entrouvert.org/entrouvert/publik/issues/28967/
AttributeError: 'ProxiedUser' object has no attribute 'groups' (19 additional frame(s) were not displayed) ... File "<unknown source>", line 1 {% if selected_user|has_role:"ENS Directeur établissement" %}
Fichiers
Révisions associées
Historique
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Fichier 0001-misc-fix-has_role-filter-when-user-is-proxied-50874.patch 0001-misc-fix-has_role-filter-when-user-is-proxied-50874.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Lauréline Guérin il y a environ 3 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit f333ce7b1cddb5af054f4e0193cc2887660cdf75 Author: Lauréline Guérin <zebuline@entrouvert.com> Date: Thu Feb 4 15:49:14 2021 +0100 misc: fix has_role filter when user is proxied (#50874)
Mis à jour par Frédéric Péters il y a environ 3 ans
- Statut changé de Résolu (à déployer) à Solution déployée
misc: fix has_role filter when user is proxied (#50874)