From 2f63d3ba7f3b24552ca0671db570e2ac3f3034ce Mon Sep 17 00:00:00 2001 From: Ricardo Silva <Ricardo.SILVA@ext.ec.europa.eu> Date: Fri, 7 Oct 2022 17:38:05 +0200 Subject: [PATCH] fixed roles for compliance users lk:31512107402310 refs #30581 --- bin/sid_user.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bin/sid_user.py b/bin/sid_user.py index cd124b8..5883103 100755 --- a/bin/sid_user.py +++ b/bin/sid_user.py @@ -854,9 +854,12 @@ def main(): if need_to_update is False and need_to_create is True: if 'SNet COM' not in block_to_update['properties']['belongs to']: block_to_update['properties']['belongs to'].append('SNet COM') - if 'Security Policy' not in block_to_update['properties']['has as role']: - block_to_update['properties']['has as role'].append('Security Policy') - + #if 'Security Policy' not in block_to_update['properties']['has as role']: + # block_to_update['properties']['has as role'].append('Security Policy') + if 'ISMS' not in block_to_update['properties']['has as role']: + block_to_update['properties']['has as role'].append('ISMS') + if 'SMPM' not in block_to_update['properties']['has as role']: + block_to_update['properties']['has as role'].append('SMPM') elif mb == 'dev': if need_to_update is False and need_to_create is True: if 'SNet SUP' not in block_to_update['properties']['belongs to']: -- GitLab