Projet

Général

Profil

0001-api-mark-role-restricted-api-user-as-non-anonymous-5.patch

Frédéric Péters, 07 mai 2021 18:52

Télécharger (770 octets)

Voir les différences:

Subject: [PATCH] api: mark role-restricted api user as non anonymous (#53864)

 wcs/api_access.py | 1 +
 1 file changed, 1 insertion(+)
wcs/api_access.py
87 87
            id = Ellipsis  # make sure it fails all over the place if used
88 88
            is_admin = False
89 89
            is_api_user = True
90
            anonymous = False
90 91

  
91 92
            def can_go_in_backoffice(self):
92 93
                return False
93
-