Projet

Général

Profil

Bug #50966

ajouter la date de desactivation du compte dans les attributs de User

Ajouté par Serghei Mihai il y a environ 3 ans. Mis à jour il y a environ 3 ans.

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Cette info sera utile dans le manager mais aussi pour la mise en place de la politique de supression des comptes inactifs


Fichiers


Demandes liées

Lié à Authentic 2 - Development #6379: sync-ldap-users do not remove deleted accountsFermé29 janvier 2015

Actions

Révisions associées

Révision 46c977d4 (diff)
Ajouté par Serghei Mihai il y a environ 3 ans

custom_user: add field to store user deactivation time (#50966)

Historique

#1

Mis à jour par Serghei Mihai il y a environ 3 ans

#2

Mis à jour par Serghei Mihai il y a environ 3 ans

#3

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

Je ne vois pas d'autre champs avec le suffixe _datetime dans le code, il faudrait trouver autre chose, disabled ça me parait bien (on ne peut malheureusement pas dégager is_active qui est utilisé un peu partout par Django et a2).

#4

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

  • Statut changé de Solution proposée à En cours
#5

Mis à jour par Serghei Mihai il y a environ 3 ans

Je préfére un nom d'attribut explicite. Dans deleted, par exemple, rien n'indique qu'il s'agit d'une date.
Mais aucun souci pour renommer l'attribut en "disabled" ou "deactivated".

#7

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

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

Mis à jour par Serghei Mihai il y a environ 3 ans

  • Statut changé de Solution validée à Résolu (à déployer)
  • Assigné à mis à Serghei Mihai
commit 46c977d498a15579aeaca126c49828de44f5e3c8
Author: Serghei Mihai <smihai@entrouvert.com>
Date:   Tue Feb 9 10:42:52 2021 +0100

    custom_user: add field to store user deactivation time (#50966)
#9

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

Formats disponibles : Atom PDF