Projet

Général

Profil

0001-misc-do-not-let-internal-roles-grant-access-to-backo.patch

Frédéric Péters, 11 décembre 2019 14:11

Télécharger (866 octets)

Voir les différences:

Subject: [PATCH] misc: do not let internal roles grant access to backoffice
 (#38409)

 wcs/ctl/hobo_notify.py | 1 +
 1 file changed, 1 insertion(+)
wcs/ctl/hobo_notify.py
136 136
                role.emails_to_members = emails_to_members
137 137
                if role.slug.startswith('_'):
138 138
                    role.internal = True
139
                    role.allows_backoffice_access = False
139 140
                role.store()
140 141
            elif action == 'deprovision':
141 142
                # Deprovision
142
-