Projet

Général

Profil

0001-a2_rbac-provide-default-values-for-unused-account-th.patch

Paul Marillonnet, 04 février 2022 12:05

Télécharger (2,17 ko)

Voir les différences:

Subject: [PATCH] a2_rbac: provide default values for unused account thresholds
 (#60463)

 src/authentic2/a2_rbac/migrations/0022_auto_20200402_1101.py | 2 ++
 src/authentic2/a2_rbac/models.py                             | 2 ++
 2 files changed, 4 insertions(+)
src/authentic2/a2_rbac/migrations/0022_auto_20200402_1101.py
17 17
            field=models.PositiveIntegerField(
18 18
                blank=True,
19 19
                null=True,
20
                default=335,
20 21
                validators=[
21 22
                    django.core.validators.MinValueValidator(
22 23
                        30, 'Ensure that this value is greater than 30 days, or leave blank for deactivating.'
......
31 32
            field=models.PositiveIntegerField(
32 33
                blank=True,
33 34
                null=True,
35
                default=365,
34 36
                validators=[
35 37
                    django.core.validators.MinValueValidator(
36 38
                        30, 'Ensure that this value is greater than 30 days, or leave blank for deactivating.'
src/authentic2/a2_rbac/models.py
97 97
        ],
98 98
        null=True,
99 99
        blank=True,
100
        default=335,
100 101
    )
101 102

  
102 103
    clean_unused_accounts_deletion = models.PositiveIntegerField(
......
108 109
        ],
109 110
        null=True,
110 111
        blank=True,
112
        default=365,
111 113
    )
112 114
    home_url = models.URLField(verbose_name=_('Home URL'), max_length=256, null=True, blank=True)
113 115

  
114
-