Project

General

Profile

Bug #13798

erreur de déprovisionning des rôles

Added by Frédéric Péters (absent jusqu’au 12/12) about 5 years ago. Updated almost 3 years ago.

Status:
Solution déployée
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
29 Oct 2016
Due date:
% Done:

0%

Estimated time:
Patch proposed:
Yes
Planning:

Description

Task was called with args: [{u'data': {u'audience': [u'https://demarches-nancy.test.entrouvert.org/saml/metadata',
u'https://hobo-nancy.test.entrouvert.org/accounts/mellon/metadata/', u'https://passerelle-nancy.test.entrouvert.org/accounts/mellon/metadata/',
u'https://agents-nancy.test.entrouvert.org/accounts/mellon/metadata/', u'https://portedoc-nancy.test.entrouvert.org/accounts/mellon/metadata/',
u'https://nancy.test.entrouvert.org/accounts/mellon/metadata/', u'https://stats-nancy.test.entrouvert.org/accounts/mellon/metadata/'], u'full':
False, u'@type': u'deprovision', u'objects': {u'data': [{u'uuid': u'c31dbe98bfe34ab6b574eb8eacdf693f'}], u'@type': u'role'}}, u'tenant':
u'connexion-nancy.test.entrouvert.org'}] kwargs: {}.

On note u'objects': {u'data': [{u'uuid': u'c31dbe98bfe34ab6b574eb8eacdf693f'}],

Mais check_valid_role est appelé pour le provisionning mais aussi pour le déprovisionning, et attend d'autres attributs :

    @classmethod
    def check_valid_role(cls, o): 
        return 'uuid' in o \
               and 'name' in o \
               and 'description' in o

Files

Associated revisions

Revision c41c9377 (diff)
Added by Frédéric Péters (absent jusqu’au 12/12) about 5 years ago

agent: only check role attributes when provisionning (#13798)

History

#2

Updated by Benjamin Dauvergne about 5 years ago

Ack.

#3

Updated by Frédéric Péters (absent jusqu’au 12/12) about 5 years ago

  • Status changed from En cours to Résolu (à déployer)
commit c41c937712fafcad06a0984a53e14291e474ee10
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Sat Oct 29 21:59:16 2016 +0200

    agent: only check role attributes when provisionning (#13798)
#4

Updated by Frédéric Péters (absent jusqu’au 12/12) almost 3 years ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF